Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001473/0.001473, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9053/0.9069, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003836/0.9108, allocations: 2.094 MB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.9136, allocations: 1.607 MB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004911/0.9141, allocations: 12 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.9145, allocations: 87 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.915, allocations: 83.25 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.9161, allocations: 323.4 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.9171, allocations: 0.6959 MB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005738/0.9177, allocations: 325.3 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.9181, allocations: 263 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.9185, allocations: 278.6 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.9187, allocations: 80 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.9189, allocations: 95.97 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.9191, allocations: 143.5 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.9194, allocations: 302.4 kB / 1.174 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.9202, allocations: 0.823 MB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9202, allocations: 0 / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9202, allocations: 0 / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.013e-05/0.9203, allocations: 0 / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001866/0.9222, allocations: 0.8994 MB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.9222, allocations: 12.03 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.9224, allocations: 68.09 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.9231, allocations: 408.6 kB / 1.176 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/0.9232, allocations: 45.31 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.9233, allocations: 60.36 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.9242, allocations: 499.5 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.9242, allocations: 192 / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.9242, allocations: 31.94 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.9243, allocations: 12 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.925, allocations: 339.8 kB / 1.177 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.9275, allocations: 1.542 MB / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009834/0.9285, allocations: 0.8837 MB / 1.179 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.9289, allocations: 240.7 kB / 1.179 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.9289, allocations: 7.984 kB / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004441/0.9294, allocations: 248.8 kB / 1.179 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.9294, allocations: 0 / 1.179 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=47): time 0.001072/0.9305, allocations: 0.522 MB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.9306, allocations: 111.2 kB / 1.18 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.931, allocations: 389.5 kB / 1.18 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.9311, allocations: 37.7 kB / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.9313, allocations: 253 kB / 1.181 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.9314, allocations: 153.7 kB / 1.181 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.9316, allocations: 106.1 kB / 1.181 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.9318, allocations: 362.7 kB / 1.181 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.9322, allocations: 179 kB / 1.182 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.9327, allocations: 292.2 kB / 1.182 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.9334, allocations: 431.4 kB / 1.182 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.9335, allocations: 0 / 1.182 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001134/0.9346, allocations: 0.5635 MB / 1.183 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.9347, allocations: 45.62 kB / 1.183 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.9347, allocations: 0 / 1.183 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.9347, allocations: 7.938 kB / 1.183 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.9351, allocations: 91.89 kB / 1.183 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.9351, allocations: 8.203 kB / 1.183 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.9356, allocations: 83.48 kB / 1.183 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.9356, allocations: 23.98 kB / 1.183 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004395/0.9361, allocations: 285.2 kB / 1.183 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003901/0.9365, allocations: 260.2 kB / 1.184 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005558/0.937, allocations: 396.1 kB / 1.184 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.937, allocations: 0 / 1.184 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001002/0.938, allocations: 0.5128 MB / 1.184 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.9381, allocations: 37.7 kB / 1.184 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9381, allocations: 12.16 kB / 1.184 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.9381, allocations: 4 kB / 1.184 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.9385, allocations: 87.83 kB / 1.185 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.9385, allocations: 4 kB / 1.185 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.9389, allocations: 67.64 kB / 1.185 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.9389, allocations: 23.98 kB / 1.185 GB, free: 1.648 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.9391, allocations: 216.1 kB / 1.185 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.9392, allocations: 47.38 kB / 1.185 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007959/0.94, allocations: 425.4 kB / 1.185 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.94, allocations: 4 kB / 1.185 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.94, allocations: 0 / 1.185 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.94, allocations: 3.984 kB / 1.185 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.9418, allocations: 1.148 MB / 1.186 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9418, allocations: 3.984 kB / 1.186 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.9422, allocations: 83.89 kB / 1.186 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.9422, allocations: 7.938 kB / 1.187 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.9422, allocations: 8 kB / 1.187 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.9423, allocations: 4 kB / 1.187 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.9423, allocations: 7.875 kB / 1.187 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.9434, allocations: 0.7261 MB / 1.187 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.9435, allocations: 128.6 kB / 1.187 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.9436, allocations: 12.12 kB / 1.187 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.9438, allocations: 23.98 kB / 1.187 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.9439, allocations: 43.61 kB / 1.187 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.9439, allocations: 16 kB / 1.187 GB, free: 14.61 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003111/0.9442, allocations: 271.2 kB / 1.188 GB, free: 14.35 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9443, allocations: 4 kB / 1.188 GB, free: 14.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007512/0.945, allocations: 195.3 kB / 1.188 GB, free: 14.15 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002536/0.9453, allocations: 131.2 kB / 1.188 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.9469, allocations: 0.7839 MB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.947, allocations: 0 / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.9473, allocations: 199.7 kB / 1.189 GB, free: 13.01 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.948, allocations: 90.44 kB / 1.189 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.9497, allocations: 0.9621 MB / 1.19 GB, free: 11.91 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.9501, allocations: 0.8512 MB / 1.191 GB, free: 11.03 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.9503, allocations: 43.42 kB / 1.191 GB, free: 10.98 MB / 0.92 GB Notification: Performance of SimCode: time 7.41e-07/0.9503, allocations: 0 / 1.191 GB, free: 10.98 MB / 0.92 GB Notification: Performance of Templates: time 0.01038/0.9607, allocations: 5.969 MB / 1.197 GB, free: 5.047 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches