Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007904/0.0007904, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008137/0.0008137, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.93/0.93, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.759/1.759, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.9822 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.103e-05, allocations: 5.094 kB / 0.9822 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002068/0.002099, allocations: 1.125 MB / 0.9833 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003568, allocations: 1.505 MB / 0.9848 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.003654, allocations: 4 kB / 0.9848 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.645e-05/0.003701, allocations: 23.67 kB / 0.9848 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.003834, allocations: 63.5 kB / 0.9849 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.004549, allocations: 462.2 kB / 0.9853 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.004915, allocations: 0.5302 MB / 0.9858 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.005073, allocations: 75.97 kB / 0.9859 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.005306, allocations: 295.5 kB / 0.9862 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.005485, allocations: 151.6 kB / 0.9863 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.005537, allocations: 52 kB / 0.9864 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.005621, allocations: 60 kB / 0.9864 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.00566, allocations: 55.77 kB / 0.9865 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.005772, allocations: 159.6 kB / 0.9867 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.006236, allocations: 0.6233 MB / 0.9873 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.00624, allocations: 4 kB / 0.9873 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/0.006242, allocations: 0 / 0.9873 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.006247, allocations: 0 / 0.9873 GB, free: 11.76 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006938/0.006941, allocations: 0.6294 MB / 0.9879 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.006978, allocations: 8.031 kB / 0.9879 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.007055, allocations: 40.75 kB / 0.9879 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.00737, allocations: 245 kB / 0.9882 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.007395, allocations: 24.23 kB / 0.9882 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.007446, allocations: 32.36 kB / 0.9882 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.007636, allocations: 138.8 kB / 0.9883 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.007649, allocations: 8.125 kB / 0.9884 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.007664, allocations: 4.375 kB / 0.9884 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.007671, allocations: 7.938 kB / 0.9884 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.007796, allocations: 84.84 kB / 0.9884 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/0.008493, allocations: 0.5777 MB / 0.989 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.008758, allocations: 114.8 kB / 0.9891 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.008826, allocations: 52.78 kB / 0.9892 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.008838, allocations: 0 / 0.9892 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.009074, allocations: 164.9 kB / 0.9893 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.009075, allocations: 0 / 0.9893 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22): time 0.000377/0.009453, allocations: 263.6 kB / 0.9896 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.009494, allocations: 55.41 kB / 0.9896 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.009661, allocations: 241.7 kB / 0.9899 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.009698, allocations: 41.7 kB / 0.9899 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.01004, allocations: 156.5 kB / 0.9901 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.01008, allocations: 63.53 kB / 0.9901 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.0102, allocations: 93.89 kB / 0.9902 GB, free: 8.57 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.01029, allocations: 338.8 kB / 0.9905 GB, free: 8.23 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.01055, allocations: 279 kB / 0.9908 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.01083, allocations: 362.1 kB / 0.9911 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.01115, allocations: 403.4 kB / 0.9915 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01115, allocations: 0 / 0.9915 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006625/0.01181, allocations: 0.7174 MB / 0.9922 GB, free: 6.293 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.712e-05/0.01188, allocations: 135.1 kB / 0.9923 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01189, allocations: 7.938 kB / 0.9924 GB, free: 6.129 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.0119, allocations: 4 kB / 0.9924 GB, free: 6.125 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.01197, allocations: 27.92 kB / 0.9924 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.01198, allocations: 4 kB / 0.9924 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.0123, allocations: 115.7 kB / 0.9925 GB, free: 5.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.01234, allocations: 31.97 kB / 0.9925 GB, free: 5.949 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (tunSta.y,$PRE.tunSta.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,$PRE.u.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.01245, allocations: 150.3 kB / 0.9927 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.01247, allocations: 27.8 kB / 0.9927 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.01251, allocations: 26.27 kB / 0.9927 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01251, allocations: 4 kB / 0.9927 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01252, allocations: 0 / 0.9927 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01252, allocations: 0 / 0.9927 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.01292, allocations: 485.8 kB / 0.9932 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01292, allocations: 0 / 0.9932 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.01298, allocations: 12 kB / 0.9932 GB, free: 5.211 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01299, allocations: 0 / 0.9932 GB, free: 5.211 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.013, allocations: 11.98 kB / 0.9932 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.013, allocations: 3.938 kB / 0.9932 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.013, allocations: 0 / 0.9932 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.01333, allocations: 381.3 kB / 0.9936 GB, free: 4.809 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.01336, allocations: 19.89 kB / 0.9936 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.01338, allocations: 4 kB / 0.9936 GB, free: 4.785 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.014e-05/0.01343, allocations: 12.05 kB / 0.9936 GB, free: 4.773 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.01347, allocations: 27.91 kB / 0.9936 GB, free: 4.746 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.01348, allocations: 8 kB / 0.9937 GB, free: 4.738 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001013/0.01358, allocations: 169.2 kB / 0.9938 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.01358, allocations: 0 / 0.9938 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002496/0.01383, allocations: 79.89 kB / 0.9939 GB, free: 4.496 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gai.Iy.y) * Number of discrete variables: 13 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,tunSta.y,tOff.booPul.y,tOn.booPul.y,u.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.01398, allocations: 121.8 kB / 0.994 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005228/0.0145, allocations: 0.6216 MB / 0.9946 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0145, allocations: 0 / 0.9946 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.01459, allocations: 79.84 kB / 0.9947 GB, free: 3.598 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.01492, allocations: 68.95 kB / 0.9948 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.0155, allocations: 450.8 kB / 0.9952 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.01559, allocations: 138.2 kB / 0.9953 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.01563, allocations: 28.5 kB / 0.9953 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of SimCode: time 9.62e-07/0.01563, allocations: 0 / 0.9953 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of Templates: time 0.004531/0.02016, allocations: 3.994 MB / 0.9992 GB, free: 14.92 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.720523190684617]