Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.344/2.344, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001499/0.001499, allocations: 175.9 kB / 0.4902 GB, free: 2.277 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.547/1.547, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009777/0.0009777, allocations: 92.2 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003646, allocations: 7.656 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.4795, allocations: 154 MB / 1.38 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4798, allocations: 87.92 kB / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02022/0.5, allocations: 8.444 MB / 1.388 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5, allocations: 0 / 1.388 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.718e-05/0.5001, allocations: 8 kB / 1.388 GB, free: 7 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.001068/0.5012, allocations: 0.6819 MB / 1.389 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.5012, allocations: 12.52 kB / 1.389 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.5013, allocations: 55.34 kB / 1.389 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.5019, allocations: 387.6 kB / 1.389 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.502, allocations: 29 kB / 1.389 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.502, allocations: 43.98 kB / 1.389 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.5027, allocations: 400.8 kB / 1.389 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5027, allocations: 3.938 kB / 1.389 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.5027, allocations: 16 kB / 1.39 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.5028, allocations: 8 kB / 1.39 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.5033, allocations: 299.7 kB / 1.39 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.5052, allocations: 1.438 MB / 1.391 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009714/0.5062, allocations: 359.2 kB / 1.392 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.5062, allocations: 0 / 1.392 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.5066, allocations: 186.8 kB / 1.392 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.362e-06/0.5066, allocations: 0 / 1.392 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0007797/0.5074, allocations: 368.9 kB / 1.392 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.5075, allocations: 136.5 kB / 1.392 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.5079, allocations: 357.1 kB / 1.393 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.5079, allocations: 37.7 kB / 1.393 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.5081, allocations: 228.3 kB / 1.393 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.5081, allocations: 86.66 kB / 1.393 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.5081, allocations: 4 kB / 1.393 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5083, allocations: 358.7 kB / 1.393 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.5085, allocations: 111.9 kB / 1.393 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.5088, allocations: 183.4 kB / 1.394 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.509, allocations: 128.6 kB / 1.394 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.509, allocations: 0 / 1.394 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006027/0.5097, allocations: 350.8 kB / 1.394 GB, free: 0.5156 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.5099, allocations: 456.8 kB / 1.394 GB, free: 40 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5099, allocations: 0 / 1.394 GB, free: 40 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.51, allocations: 8 kB / 1.394 GB, free: 32 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.5103, allocations: 67.91 kB / 1.394 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5103, allocations: 4 kB / 1.394 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.5105, allocations: 51.66 kB / 1.395 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.5105, allocations: 16 kB / 1.395 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.5105, allocations: 7.953 kB / 1.395 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003254/0.5109, allocations: 224.7 kB / 1.395 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.5109, allocations: 0 / 1.395 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-06/0.5109, allocations: 4 kB / 1.395 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.5111, allocations: 59.86 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.5111, allocations: 4 kB / 1.395 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.5113, allocations: 44.14 kB / 1.395 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5113, allocations: 8 kB / 1.395 GB, free: 15.55 MB / 0.9011 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 (35): * Single equations (assignments): 35 * 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.0001897/0.5115, allocations: 233.1 kB / 1.395 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.5115, allocations: 35.53 kB / 1.395 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/0.5116, allocations: 47.62 kB / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5116, allocations: 7.953 kB / 1.395 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5117, allocations: 4 kB / 1.395 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5117, allocations: 3.984 kB / 1.395 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.513, allocations: 0.9888 MB / 1.396 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.513, allocations: 4 kB / 1.396 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.5132, allocations: 60.19 kB / 1.396 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5132, allocations: 4 kB / 1.396 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.5133, allocations: 8 kB / 1.396 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.5133, allocations: 7.938 kB / 1.396 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5133, allocations: 4 kB / 1.396 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008525/0.5141, allocations: 0.7509 MB / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.5142, allocations: 124.6 kB / 1.397 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.5143, allocations: 15.98 kB / 1.397 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.5145, allocations: 23.98 kB / 1.397 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.5146, allocations: 19.98 kB / 1.397 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.5146, allocations: 11.98 kB / 1.397 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000273/0.5149, allocations: 287.2 kB / 1.397 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5149, allocations: 4 kB / 1.397 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004645/0.5154, allocations: 123.5 kB / 1.398 GB, free: 12.58 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (26): * Single equations (assignments): 26 * 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.0001598/0.5155, allocations: 119.9 kB / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006521/0.5162, allocations: 393.2 kB / 1.398 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5162, allocations: 4 kB / 1.398 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.5164, allocations: 128.6 kB / 1.398 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.5169, allocations: 82.98 kB / 1.398 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.5183, allocations: 0.8905 MB / 1.399 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5187, allocations: 0.8118 MB / 1.4 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000177/0.5188, allocations: 55.38 kB / 1.4 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.5189, allocations: 31.44 kB / 1.4 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of SimCode: time 2.7e-07/0.5189, allocations: 0 / 1.4 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of Templates: time 0.007005/0.5259, allocations: 3.483 MB / 1.403 GB, free: 6.574 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches