Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.328/2.328, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001059/0.00106, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.000831/0.0008309, allocations: 87.2 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.255e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2487, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.308, allocations: 151.2 MB / 1.366 GB, free: 2.914 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.309, allocations: 74.36 kB / 1.366 GB, free: 2.879 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01729/1.326, allocations: 6.444 MB / 1.373 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/1.326, allocations: 0 / 1.373 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.715e-05/1.326, allocations: 16 kB / 1.373 GB, free: 13.36 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001073/1.327, allocations: 0.6088 MB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.327, allocations: 12.03 kB / 1.373 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/1.327, allocations: 51.44 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/1.328, allocations: 336.1 kB / 1.374 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/1.328, allocations: 30.09 kB / 1.374 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/1.328, allocations: 40.69 kB / 1.374 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/1.329, allocations: 370.5 kB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.329, allocations: 4 kB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/1.329, allocations: 18.19 kB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.329, allocations: 12 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/1.329, allocations: 239 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/1.331, allocations: 1.315 MB / 1.376 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/1.332, allocations: 221.9 kB / 1.376 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/1.332, allocations: 136.8 kB / 1.376 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/1.332, allocations: 4 kB / 1.376 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/1.332, allocations: 173.5 kB / 1.376 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/1.332, allocations: 0 / 1.376 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0004172/1.333, allocations: 239.1 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/1.333, allocations: 132.5 kB / 1.377 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/1.333, allocations: 344.5 kB / 1.377 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/1.333, allocations: 35.64 kB / 1.377 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/1.333, allocations: 226.8 kB / 1.377 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/1.334, allocations: 96.94 kB / 1.377 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/1.334, allocations: 3.375 kB / 1.377 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.334, allocations: 351.7 kB / 1.378 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/1.334, allocations: 84.44 kB / 1.378 GB, free: 9.102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/1.334, allocations: 168.9 kB / 1.378 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/1.334, allocations: 105.4 kB / 1.378 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.334, allocations: 0 / 1.378 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004457/1.335, allocations: 309.6 kB / 1.378 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002544/1.335, allocations: 0.5278 MB / 1.379 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.335, allocations: 4 kB / 1.379 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.335, allocations: 0 / 1.379 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/1.335, allocations: 75.77 kB / 1.379 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.335, allocations: 7.938 kB / 1.379 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/1.336, allocations: 51.61 kB / 1.379 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/1.336, allocations: 19.73 kB / 1.379 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/1.336, allocations: 0 / 1.379 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003502/1.336, allocations: 235.7 kB / 1.379 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/1.336, allocations: 4 kB / 1.379 GB, free: 7.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/1.336, allocations: 128 / 1.379 GB, free: 7.797 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/1.336, allocations: 67.22 kB / 1.379 GB, free: 7.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/1.336, allocations: 0 / 1.379 GB, free: 7.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/1.336, allocations: 46.14 kB / 1.379 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/1.336, allocations: 11.62 kB / 1.379 GB, free: 7.684 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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.0001064/1.337, allocations: 123.1 kB / 1.379 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/1.337, allocations: 35.53 kB / 1.379 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/1.337, allocations: 196.3 kB / 1.38 GB, free: 7.391 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.337, allocations: 0 / 1.38 GB, free: 7.391 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.337, allocations: 4 kB / 1.38 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.337, allocations: 0 / 1.38 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/1.338, allocations: 0.9961 MB / 1.381 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.338, allocations: 0 / 1.381 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/1.339, allocations: 64.23 kB / 1.381 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/1.339, allocations: 8 kB / 1.381 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/1.339, allocations: 7.75 kB / 1.381 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/1.339, allocations: 15.83 kB / 1.381 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.339, allocations: 4 kB / 1.381 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/1.339, allocations: 0.7212 MB / 1.381 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.34, allocations: 128 kB / 1.381 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/1.34, allocations: 15.41 kB / 1.381 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/1.34, allocations: 23.42 kB / 1.382 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/1.34, allocations: 35.83 kB / 1.382 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/1.34, allocations: 8 kB / 1.382 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000316/1.34, allocations: 278.3 kB / 1.382 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.34, allocations: 0 / 1.382 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005429/1.341, allocations: 123.8 kB / 1.382 GB, free: 5.168 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002275/1.341, allocations: 117.7 kB / 1.382 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006916/1.342, allocations: 366.8 kB / 1.382 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.342, allocations: 4 kB / 1.382 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/1.342, allocations: 104 kB / 1.382 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/1.342, allocations: 76.03 kB / 1.383 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.344, allocations: 0.5789 MB / 1.383 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/1.344, allocations: 0.8161 MB / 1.384 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002366/1.344, allocations: 51.25 kB / 1.384 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/1.344, allocations: 34.8 kB / 1.384 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.344, allocations: 0 / 1.384 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of Templates: time 0.007674/1.352, allocations: 3.759 MB / 1.388 GB, free: 15.45 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches