Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 98.83 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.66/2.66, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 12 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8396/0.8399, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.003384/0.8434, allocations: 2.296 MB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.8454, allocations: 0.5772 MB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.8459, allocations: 11.94 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.846, allocations: 39.52 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.8465, allocations: 79.7 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.8469, allocations: 123.9 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.8476, allocations: 309.4 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.8481, allocations: 193.4 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.8483, allocations: 111.4 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.8485, allocations: 135.1 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.8486, allocations: 12 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.8486, allocations: 12 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.8487, allocations: 59.69 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.8488, allocations: 89.45 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.8494, allocations: 484.6 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.8494, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.286e-06/0.8494, allocations: 3.938 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.8494, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001512/0.8509, allocations: 0.7132 MB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.851, allocations: 8.031 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.8512, allocations: 55.34 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.8517, allocations: 343.8 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.8518, allocations: 32.98 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.8518, allocations: 40 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.8526, allocations: 418.9 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.8527, allocations: 0 / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.8527, allocations: 19.98 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.8527, allocations: 12 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.8533, allocations: 303.8 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.8554, allocations: 1.394 MB / 1.028 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007174/0.8561, allocations: 300.8 kB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.8562, allocations: 4 kB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.8562, allocations: 34.56 kB / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.8562, allocations: 0 / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007232/0.857, allocations: 325.3 kB / 1.029 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.857, allocations: 110.8 kB / 1.029 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.8575, allocations: 417.6 kB / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.8576, allocations: 29.7 kB / 1.03 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.8578, allocations: 263.6 kB / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/0.8579, allocations: 75 kB / 1.03 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.8579, allocations: 4 kB / 1.03 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.8581, allocations: 350.8 kB / 1.03 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.8583, allocations: 112.6 kB / 1.03 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.8587, allocations: 208.3 kB / 1.031 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.8589, allocations: 133.8 kB / 1.031 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8589, allocations: 4 kB / 1.031 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006502/0.8596, allocations: 376 kB / 1.031 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003436/0.86, allocations: 0.7914 MB / 1.032 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.86, allocations: 4 kB / 1.032 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.86, allocations: 8 kB / 1.032 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.8603, allocations: 71.89 kB / 1.032 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.8603, allocations: 7.938 kB / 1.032 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.8605, allocations: 63.52 kB / 1.032 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.8606, allocations: 19.98 kB / 1.032 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.8606, allocations: 0 / 1.032 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003537/0.861, allocations: 247.7 kB / 1.032 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.861, allocations: 4 kB / 1.032 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.861, allocations: 4 kB / 1.032 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.8612, allocations: 64.12 kB / 1.032 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.8612, allocations: 11.95 kB / 1.032 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.8614, allocations: 43.61 kB / 1.032 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.8614, allocations: 12 kB / 1.032 GB, free: 4.871 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.noTri.y,limPID.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002162/0.8616, allocations: 237 kB / 1.033 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.8617, allocations: 39.53 kB / 1.033 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.8618, allocations: 35.64 kB / 1.033 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.8618, allocations: 11.98 kB / 1.033 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.8618, allocations: 3.953 kB / 1.033 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8618, allocations: 0 / 1.033 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.863, allocations: 0.7562 MB / 1.033 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.863, allocations: 4 kB / 1.033 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.8632, allocations: 47.91 kB / 1.033 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8632, allocations: 3.953 kB / 1.034 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.8632, allocations: 8.094 kB / 1.034 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.8632, allocations: 7.984 kB / 1.034 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8632, allocations: 0 / 1.034 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.864, allocations: 0.5001 MB / 1.034 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.8641, allocations: 124.6 kB / 1.034 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.8642, allocations: 3.984 kB / 1.034 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.8643, allocations: 23.98 kB / 1.034 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.8644, allocations: 23.92 kB / 1.034 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.8644, allocations: 4 kB / 1.034 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003119/0.8647, allocations: 287.2 kB / 1.034 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8647, allocations: 0 / 1.034 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005041/0.8652, allocations: 147.4 kB / 1.035 GB, free: 2.48 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.000152/0.8654, allocations: 111.2 kB / 1.035 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006841/0.8661, allocations: 382.1 kB / 1.035 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8661, allocations: 256 / 1.035 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.8663, allocations: 107.8 kB / 1.035 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.8668, allocations: 79.88 kB / 1.035 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.8681, allocations: 0.812 MB / 1.036 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.8684, allocations: 0.8194 MB / 1.037 GB, free: 120 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.8686, allocations: 51.17 kB / 1.037 GB, free: 68 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.8687, allocations: 27.44 kB / 1.037 GB, free: 40 kB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.8687, allocations: 4 kB / 1.037 GB, free: 36 kB / 0.7794 GB Notification: Performance of Templates: time 0.006981/0.8757, allocations: 3.367 MB / 1.04 GB, free: 12.71 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches