Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00201/0.00201, allocations: 171.7 kB / 498.1 MB, free: 5.809 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.55/1.55, allocations: 223.2 MB / 0.7949 GB, free: 18.02 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 102.2 kB / 0.9346 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 11.39 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3336, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.5375, allocations: 154.4 MB / 1.374 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5378, allocations: 91.92 kB / 1.374 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06151/0.5993, allocations: 24.43 MB / 1.398 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5993, allocations: 0 / 1.398 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.378e-05/0.5994, allocations: 28 kB / 1.398 GB, free: 15.26 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002763/0.6022, allocations: 1.499 MB / 1.399 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.6023, allocations: 8.031 kB / 1.399 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.6025, allocations: 158.1 kB / 1.399 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.6039, allocations: 0.7659 MB / 1.4 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.411e-05/0.604, allocations: 86.17 kB / 1.4 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.6042, allocations: 119.9 kB / 1.4 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.6061, allocations: 1.096 MB / 1.401 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.6061, allocations: 3.938 kB / 1.401 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-05/0.6062, allocations: 51.98 kB / 1.401 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.6062, allocations: 28 kB / 1.401 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.6079, allocations: 0.8512 MB / 1.402 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005176/0.6131, allocations: 3.703 MB / 1.406 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.6153, allocations: 1.083 MB / 1.407 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.6154, allocations: 12.98 kB / 1.407 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008748/0.6163, allocations: 473 kB / 1.407 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=92): time 4.769e-06/0.6163, allocations: 7.922 kB / 1.407 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of matching and sorting (n=92): time 0.002213/0.6185, allocations: 1.132 MB / 1.408 GB, free: 3.898 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.6187, allocations: 218.6 kB / 1.409 GB, free: 3.633 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.6198, allocations: 0.7793 MB / 1.409 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.6199, allocations: 45.7 kB / 1.409 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.6204, allocations: 0.5241 MB / 1.41 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.6207, allocations: 303.5 kB / 1.41 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.6207, allocations: 20 kB / 1.41 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6209, allocations: 337.9 kB / 1.411 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006726/0.6215, allocations: 349.8 kB / 1.411 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/0.6223, allocations: 0.5108 MB / 1.411 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/0.6231, allocations: 408.6 kB / 1.412 GB, free: 292 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6231, allocations: 0 / 1.412 GB, free: 292 kB / 0.9011 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001864/0.625, allocations: 1.025 MB / 1.413 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002766/0.6253, allocations: 0.6517 MB / 1.413 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6253, allocations: 0 / 1.413 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.6253, allocations: 11.94 kB / 1.413 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.626, allocations: 199.8 kB / 1.414 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.6261, allocations: 7.938 kB / 1.414 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007602/0.6268, allocations: 183 kB / 1.414 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/0.6269, allocations: 43.95 kB / 1.414 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.6269, allocations: 4 kB / 1.414 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/0.628, allocations: 0.7279 MB / 1.415 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6281, allocations: 0 / 1.415 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.6281, allocations: 8 kB / 1.415 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.6286, allocations: 155.8 kB / 1.415 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6286, allocations: 4 kB / 1.415 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005822/0.6292, allocations: 143.3 kB / 1.415 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.6293, allocations: 39.98 kB / 1.415 GB, free: 13.02 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0005847/0.6298, allocations: 328.9 kB / 1.415 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.63, allocations: 118.5 kB / 1.415 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.6302, allocations: 119.7 kB / 1.415 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.6302, allocations: 12 kB / 1.415 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.6302, allocations: 0 / 1.415 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6303, allocations: 3.984 kB / 1.415 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.6329, allocations: 1.89 MB / 1.417 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6329, allocations: 0 / 1.417 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.6336, allocations: 175.8 kB / 1.417 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.6336, allocations: 8 kB / 1.417 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.6337, allocations: 19.98 kB / 1.417 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.6337, allocations: 4 kB / 1.417 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6337, allocations: 0 / 1.417 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.636, allocations: 1.368 MB / 1.419 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.6362, allocations: 211.4 kB / 1.419 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.831e-05/0.6363, allocations: 16 kB / 1.419 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.6368, allocations: 79.88 kB / 1.419 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/0.6369, allocations: 44.94 kB / 1.419 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.6369, allocations: 31.98 kB / 1.419 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008311/0.6378, allocations: 0.6074 MB / 1.42 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-07/0.6378, allocations: 0 / 1.42 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001028/0.6388, allocations: 406.4 kB / 1.42 GB, free: 7.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * 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.0002553/0.6391, allocations: 147.1 kB / 1.42 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0023/0.6414, allocations: 1.329 MB / 1.422 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.6414, allocations: 0.75 kB / 1.422 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/0.6421, allocations: 417.5 kB / 1.422 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.6431, allocations: 227.5 kB / 1.422 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.6465, allocations: 2.283 MB / 1.424 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/0.6472, allocations: 1.113 MB / 1.426 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005402/0.6477, allocations: 132.3 kB / 1.426 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.6479, allocations: 75.42 kB / 1.426 GB, free: 1.699 MB / 0.9167 GB Notification: Performance of SimCode: time 1.072e-06/0.6479, allocations: 0 / 1.426 GB, free: 1.699 MB / 0.9167 GB Notification: Performance of Templates: time 0.5649/1.213, allocations: 11.25 MB / 1.437 GB, free: 186.4 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches