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.532/2.532, allocations: 390.5 MB / 398 MB, free: 10.91 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.001064/0.001064, allocations: 180.8 kB / 491.2 MB, free: 1.543 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.472/1.472, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.0008761/0.0008761, allocations: 99.34 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.71e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2872, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.393, allocations: 153.2 MB / 1.362 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.394, allocations: 96.06 kB / 1.362 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01939/1.413, allocations: 8.366 MB / 1.37 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.664e-06/1.413, allocations: 0 / 1.37 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.918e-05/1.413, allocations: 11.75 kB / 1.37 GB, free: 32.78 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001036/1.414, allocations: 0.6236 MB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.414, allocations: 7.625 kB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/1.414, allocations: 54 kB / 1.371 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/1.415, allocations: 386.9 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/1.415, allocations: 11.72 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.199e-05/1.415, allocations: 22.56 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003901/1.416, allocations: 213.8 kB / 1.372 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/1.416, allocations: 326.6 kB / 1.372 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.416, allocations: 0 / 1.372 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/1.416, allocations: 0 / 1.372 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.416, allocations: 7.719 kB / 1.372 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/1.418, allocations: 1.339 MB / 1.373 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/1.419, allocations: 265.3 kB / 1.373 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/1.419, allocations: 113 kB / 1.374 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/1.419, allocations: 0 / 1.374 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/1.419, allocations: 146 kB / 1.374 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/1.419, allocations: 0 / 1.374 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0003643/1.419, allocations: 207.5 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.419, allocations: 136.4 kB / 1.374 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/1.42, allocations: 275.1 kB / 1.374 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/1.42, allocations: 25.7 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/1.42, allocations: 234.6 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/1.42, allocations: 85.28 kB / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/1.42, allocations: 0 / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.42, allocations: 347.9 kB / 1.375 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.42, allocations: 76.62 kB / 1.375 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/1.42, allocations: 144.3 kB / 1.375 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/1.421, allocations: 90.92 kB / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.421, allocations: 0 / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003523/1.421, allocations: 275.5 kB / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/1.421, allocations: 446.2 kB / 1.376 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.421, allocations: 3.969 kB / 1.376 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.421, allocations: 3.812 kB / 1.376 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/1.422, allocations: 68.73 kB / 1.376 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.422, allocations: 3.812 kB / 1.376 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/1.422, allocations: 50.25 kB / 1.376 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/1.422, allocations: 13.91 kB / 1.376 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/1.422, allocations: 3.938 kB / 1.376 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002703/1.422, allocations: 195.8 kB / 1.376 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/1.422, allocations: 0 / 1.376 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/1.422, allocations: 3.938 kB / 1.376 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/1.422, allocations: 56.81 kB / 1.376 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/1.422, allocations: 7.797 kB / 1.376 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/1.422, allocations: 22.94 kB / 1.376 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/1.422, allocations: 10.94 kB / 1.376 GB, free: 29.63 MB / 0.8386 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 () * 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.0001204/1.423, allocations: 108.7 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/1.423, allocations: 31.12 kB / 1.376 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.72e-05/1.423, allocations: 38 kB / 1.376 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.423, allocations: 7.875 kB / 1.376 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/1.423, allocations: 0 / 1.376 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.423, allocations: 3.953 kB / 1.377 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/1.424, allocations: 0.845 MB / 1.377 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/1.424, allocations: 13.95 kB / 1.377 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/1.424, allocations: 53.97 kB / 1.377 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/1.424, allocations: 3.906 kB / 1.377 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/1.424, allocations: 6.844 kB / 1.377 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/1.424, allocations: 6.484 kB / 1.377 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.424, allocations: 11.81 kB / 1.377 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/1.425, allocations: 0.6434 MB / 1.378 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/1.425, allocations: 114 kB / 1.378 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/1.425, allocations: 6.578 kB / 1.378 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/1.425, allocations: 24.81 kB / 1.378 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/1.425, allocations: 21.09 kB / 1.378 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/1.425, allocations: 11.66 kB / 1.378 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002017/1.425, allocations: 210.4 kB / 1.378 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.3e-07/1.425, allocations: 0 / 1.378 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005055/1.426, allocations: 115.5 kB / 1.379 GB, free: 28.33 MB / 0.8386 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 () * 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.0001789/1.426, allocations: 120.4 kB / 1.379 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004584/1.426, allocations: 317.9 kB / 1.379 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.426, allocations: 0 / 1.379 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/1.427, allocations: 98.33 kB / 1.379 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/1.427, allocations: 85.27 kB / 1.379 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/1.428, allocations: 0.5493 MB / 1.38 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/1.429, allocations: 0.8226 MB / 1.38 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000254/1.429, allocations: 54.11 kB / 1.381 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/1.429, allocations: 29.67 kB / 1.381 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.429, allocations: 0 / 1.381 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of Templates: time 0.007737/1.437, allocations: 3.402 MB / 1.384 GB, free: 26.56 MB / 0.8386 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