Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009922/0.0009922, allocations: 180.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 97.91 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.162e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3135, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.49, allocations: 150.5 MB / 1.353 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.491, allocations: 75.44 kB / 1.353 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02412/1.515, allocations: 9.433 MB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/1.515, allocations: 4 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.623e-05/1.515, allocations: 11.69 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001073/1.516, allocations: 0.747 MB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.516, allocations: 11.56 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/1.516, allocations: 66.16 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/1.517, allocations: 393 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/1.517, allocations: 15.44 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/1.517, allocations: 34.69 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004394/1.517, allocations: 276.7 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/1.518, allocations: 399.7 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.518, allocations: 3.938 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/1.518, allocations: 1.969 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/1.518, allocations: 11.53 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/1.52, allocations: 1.491 MB / 1.366 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/1.521, allocations: 0.7998 MB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/1.521, allocations: 192.8 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/1.521, allocations: 10.59 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/1.521, allocations: 214.7 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=49): time 2.234e-06/1.521, allocations: 0 / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49): time 0.0004917/1.522, allocations: 335.9 kB / 1.367 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.522, allocations: 107 kB / 1.367 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/1.522, allocations: 272.8 kB / 1.367 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/1.522, allocations: 29.61 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/1.522, allocations: 255.3 kB / 1.368 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/1.522, allocations: 163.3 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/1.522, allocations: 3.906 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.523, allocations: 351.2 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/1.523, allocations: 142.3 kB / 1.368 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/1.523, allocations: 221.4 kB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/1.523, allocations: 169.9 kB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.523, allocations: 0 / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006943/1.524, allocations: 448.9 kB / 1.369 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003178/1.524, allocations: 0.5646 MB / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.524, allocations: 0 / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/1.525, allocations: 7.875 kB / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/1.525, allocations: 97.38 kB / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.525, allocations: 7.859 kB / 1.37 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/1.525, allocations: 85.67 kB / 1.37 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/1.525, allocations: 20.56 kB / 1.37 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/1.525, allocations: 7.875 kB / 1.37 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00061/1.526, allocations: 372.3 kB / 1.37 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/1.526, allocations: 0 / 1.37 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.002e-06/1.526, allocations: 3.844 kB / 1.37 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/1.526, allocations: 86.92 kB / 1.37 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/1.526, allocations: 7.828 kB / 1.37 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/1.527, allocations: 71.16 kB / 1.37 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/1.527, allocations: 19 kB / 1.37 GB, free: 29.63 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/1.527, allocations: 114 kB / 1.371 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/1.527, allocations: 38.81 kB / 1.371 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/1.528, allocations: 359.4 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.528, allocations: 3.812 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.528, allocations: 0 / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.528, allocations: 6.719 kB / 1.371 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/1.529, allocations: 1.005 MB / 1.372 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.529, allocations: 0 / 1.372 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/1.529, allocations: 84.83 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/1.529, allocations: 8.062 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/1.529, allocations: 7.25 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.529, allocations: 7.906 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.529, allocations: 3.875 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/1.53, allocations: 0.6992 MB / 1.373 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/1.53, allocations: 126.8 kB / 1.373 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/1.53, allocations: 7.875 kB / 1.373 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/1.53, allocations: 25.06 kB / 1.373 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/1.53, allocations: 30.25 kB / 1.373 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/1.53, allocations: 14.84 kB / 1.373 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002133/1.531, allocations: 214.4 kB / 1.373 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.531, allocations: 4 kB / 1.373 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005671/1.531, allocations: 192.8 kB / 1.373 GB, free: 28.47 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000252/1.531, allocations: 125 kB / 1.373 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008913/1.532, allocations: 0.6855 MB / 1.374 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.532, allocations: 3.844 kB / 1.374 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/1.533, allocations: 171.2 kB / 1.374 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/1.533, allocations: 76.16 kB / 1.374 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.534, allocations: 0.6865 MB / 1.375 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/1.535, allocations: 0.8635 MB / 1.376 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002564/1.535, allocations: 61.14 kB / 1.376 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/1.535, allocations: 37.72 kB / 1.376 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of SimCode: time 1.012e-06/1.535, allocations: 0 / 1.376 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.009171/1.544, allocations: 5.346 MB / 1.381 GB, free: 26.31 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches