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.0009757/0.0009757, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001066/0.001066, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9824/0.9824, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.891/1.891, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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 3.096e-06/3.096e-06, allocations: 0 / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.559e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002141/0.002177, allocations: 1.185 MB / 0.8127 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.003945, allocations: 1.531 MB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.004074, allocations: 1.969 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.495e-05/0.004129, allocations: 23.67 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.004308, allocations: 63.39 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.005192, allocations: 450 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005326/0.005725, allocations: 0.5308 MB / 0.8152 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.005924, allocations: 64.05 kB / 0.8153 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.006221, allocations: 296 kB / 0.8156 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.006431, allocations: 153 kB / 0.8157 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.006489, allocations: 56 kB / 0.8158 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.006583, allocations: 64 kB / 0.8158 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.006626, allocations: 51.77 kB / 0.8159 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.006751, allocations: 156.2 kB / 0.816 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.007221, allocations: 382.9 kB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.007225, allocations: 5.312 kB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.007227, allocations: 0 / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.007232, allocations: 0 / 0.8164 GB, free: 13.07 MB / 0.7761 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.0007774/0.00801, allocations: 0.7215 MB / 0.8171 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.00805, allocations: 12.03 kB / 0.8171 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.008172, allocations: 60.73 kB / 0.8172 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.008526, allocations: 249.1 kB / 0.8174 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.008565, allocations: 16.38 kB / 0.8174 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.00862, allocations: 32.38 kB / 0.8175 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.008826, allocations: 129.7 kB / 0.8176 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.008839, allocations: 192 / 0.8176 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.008857, allocations: 4.375 kB / 0.8176 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.008869, allocations: 11.88 kB / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.008978, allocations: 50.02 kB / 0.8177 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009975/0.009975, allocations: 0.6211 MB / 0.8183 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.01025, allocations: 95.28 kB / 0.8184 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.01032, allocations: 37.66 kB / 0.8184 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.599e-06/0.01033, allocations: 4 kB / 0.8184 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.01053, allocations: 146.7 kB / 0.8185 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.01053, allocations: 0 / 0.8185 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0004036/0.01094, allocations: 214.2 kB / 0.8187 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.01098, allocations: 63.39 kB / 0.8188 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.0112, allocations: 276.3 kB / 0.8191 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.01124, allocations: 45.69 kB / 0.8191 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01136, allocations: 199.2 kB / 0.8193 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.01141, allocations: 59.53 kB / 0.8193 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.01157, allocations: 108 kB / 0.8195 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.0117, allocations: 0.5117 MB / 0.82 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.01198, allocations: 231.5 kB / 0.8202 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.01231, allocations: 363.2 kB / 0.8205 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.01268, allocations: 376.8 kB / 0.8209 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01268, allocations: 0 / 0.8209 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001064/0.01375, allocations: 0.6547 MB / 0.8215 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.34e-05/0.01382, allocations: 131.5 kB / 0.8216 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01383, allocations: 4 kB / 0.8216 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.01384, allocations: 5.094 kB / 0.8217 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.01392, allocations: 31.92 kB / 0.8217 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01393, allocations: 4 kB / 0.8217 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.01426, allocations: 95.83 kB / 0.8218 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.01431, allocations: 31.97 kB / 0.8218 GB, free: 7.082 MB / 0.7761 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.0001334/0.01444, allocations: 185.6 kB / 0.822 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.01448, allocations: 31.86 kB / 0.822 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.01452, allocations: 24.61 kB / 0.822 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01452, allocations: 4 kB / 0.822 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01453, allocations: 0 / 0.822 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.01453, allocations: 0 / 0.822 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.01498, allocations: 485.2 kB / 0.8225 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01498, allocations: 0 / 0.8225 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.01505, allocations: 20 kB / 0.8225 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01506, allocations: 4.922 kB / 0.8225 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01507, allocations: 0 / 0.8225 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.01507, allocations: 9.062 kB / 0.8225 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01507, allocations: 96 / 0.8225 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.01544, allocations: 373.6 kB / 0.8229 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.01547, allocations: 20.86 kB / 0.8229 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.01549, allocations: 11.98 kB / 0.8229 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.01556, allocations: 3.938 kB / 0.8229 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.01561, allocations: 25 kB / 0.823 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.01563, allocations: 8 kB / 0.823 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001219/0.01575, allocations: 193.1 kB / 0.8231 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01575, allocations: 0.9688 kB / 0.8231 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003608/0.01611, allocations: 83.89 kB / 0.8232 GB, free: 5.57 MB / 0.7761 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.0001602/0.01627, allocations: 120.8 kB / 0.8233 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005658/0.01683, allocations: 0.5681 MB / 0.8239 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01684, allocations: 0 / 0.8239 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.01694, allocations: 79.5 kB / 0.824 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.01735, allocations: 68.38 kB / 0.824 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.01796, allocations: 402.7 kB / 0.8244 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.792e-05/0.01802, allocations: 80.33 kB / 0.8245 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.964e-05/0.0181, allocations: 26.5 kB / 0.8245 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.01814, allocations: 22.12 kB / 0.8245 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of SimCode: time 1.182e-06/0.01814, allocations: 0 / 0.8245 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of Templates: time 0.008562/0.0267, allocations: 5.261 MB / 0.8297 GB, free: 15.01 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.36071692709811]