Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.405/2.405, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001053/0.001053, allocations: 172 kB / 0.4902 GB, free: 2.223 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.561/1.561, allocations: 223.2 MB / 0.7992 GB, free: 14.68 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.001158/0.001158, allocations: 101.4 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004401, allocations: 10.31 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3082, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.5099, allocations: 151.2 MB / 1.377 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5102, allocations: 79.89 kB / 1.377 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0194/0.5297, allocations: 6.726 MB / 1.384 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5297, allocations: 0 / 1.384 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.127e-05/0.5298, allocations: 19.92 kB / 1.384 GB, free: 11.48 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001474/0.5313, allocations: 0.6587 MB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5313, allocations: 8.562 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.5315, allocations: 55.39 kB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.5321, allocations: 330.2 kB / 1.385 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.5322, allocations: 29 kB / 1.385 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.5323, allocations: 36 kB / 1.385 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.533, allocations: 399 kB / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.5331, allocations: 0 / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.5331, allocations: 16 kB / 1.385 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.5331, allocations: 8 kB / 1.385 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/0.5338, allocations: 295.8 kB / 1.385 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.5362, allocations: 1.293 MB / 1.387 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.5369, allocations: 287.6 kB / 1.387 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.5369, allocations: 4.234 kB / 1.387 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.5373, allocations: 196.5 kB / 1.387 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.5373, allocations: 0 / 1.387 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.0008534/0.5382, allocations: 391.2 kB / 1.387 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.5383, allocations: 132.5 kB / 1.388 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.5387, allocations: 344.9 kB / 1.388 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.5388, allocations: 29.7 kB / 1.388 GB, free: 6.777 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.539, allocations: 220.2 kB / 1.388 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.5391, allocations: 94.64 kB / 1.388 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.5391, allocations: 12 kB / 1.388 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5392, allocations: 350.8 kB / 1.389 GB, free: 6.102 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.5395, allocations: 123.6 kB / 1.389 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.5399, allocations: 195.4 kB / 1.389 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.5402, allocations: 136.7 kB / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.5402, allocations: 0 / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007849/0.541, allocations: 382.4 kB / 1.389 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/0.5412, allocations: 453 kB / 1.39 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5413, allocations: 4 kB / 1.39 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.5413, allocations: 4 kB / 1.39 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.5416, allocations: 75.89 kB / 1.39 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.5416, allocations: 3.984 kB / 1.39 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.5419, allocations: 63.56 kB / 1.39 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.542, allocations: 12 kB / 1.39 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.542, allocations: 7.953 kB / 1.39 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004856/0.5425, allocations: 256.4 kB / 1.39 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.5425, allocations: 0 / 1.39 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.5425, allocations: 4 kB / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.5428, allocations: 63.86 kB / 1.39 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5428, allocations: 3.938 kB / 1.39 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.543, allocations: 51.77 kB / 1.39 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.543, allocations: 8 kB / 1.39 GB, free: 4.23 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked 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.0002465/0.5433, allocations: 234.5 kB / 1.391 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.5434, allocations: 39.53 kB / 1.391 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006202/0.544, allocations: 320.9 kB / 1.391 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.544, allocations: 7.953 kB / 1.391 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.544, allocations: 0 / 1.391 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.544, allocations: 3.984 kB / 1.391 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.5458, allocations: 1.09 MB / 1.392 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5458, allocations: 4 kB / 1.392 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.546, allocations: 59.91 kB / 1.392 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.5461, allocations: 8 kB / 1.392 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.5461, allocations: 11.98 kB / 1.392 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.5461, allocations: 4 kB / 1.392 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.5461, allocations: 8.297 kB / 1.392 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5472, allocations: 0.8416 MB / 1.393 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.5473, allocations: 124.7 kB / 1.393 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.5474, allocations: 15.95 kB / 1.393 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.5477, allocations: 23.98 kB / 1.393 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.5477, allocations: 31.91 kB / 1.393 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.5477, allocations: 12 kB / 1.393 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003158/0.5481, allocations: 275.2 kB / 1.393 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5481, allocations: 0 / 1.393 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006118/0.5487, allocations: 127.5 kB / 1.393 GB, free: 0.7422 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked 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.0002627/0.549, allocations: 131.1 kB / 1.394 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009445/0.5499, allocations: 423.6 kB / 1.394 GB, free: 192 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5499, allocations: 0 / 1.394 GB, free: 192 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.5502, allocations: 148.9 kB / 1.394 GB, free: 44 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.5507, allocations: 69.52 kB / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.5525, allocations: 0.869 MB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.5529, allocations: 0.808 MB / 1.396 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.5531, allocations: 43.27 kB / 1.396 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.5532, allocations: 31.44 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of SimCode: time 7.01e-07/0.5532, allocations: 0 / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of Templates: time 0.008281/0.5615, allocations: 3.377 MB / 1.399 GB, free: 10.77 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches