Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.OBC.CDL.Reals.Validation.PIDInitialState,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.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,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.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001968/0.001968, allocations: 196.8 kB / 16.14 MB, free: 6.645 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.8 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 73.14 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3321, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003338/0.3355, allocations: 1.869 MB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3372, allocations: 1.244 MB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.3375, allocations: 4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.3377, allocations: 59.45 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.3379, allocations: 31.77 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3382, allocations: 143.9 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.3387, allocations: 449 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.3391, allocations: 267.4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.3393, allocations: 147.3 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.3395, allocations: 182.9 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.3395, allocations: 24 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.3396, allocations: 28 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.3397, allocations: 83.56 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.3398, allocations: 178.9 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.3403, allocations: 0.5336 MB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3403, allocations: 7.938 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3403, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3403, allocations: 3.938 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001312/0.3416, allocations: 0.7381 MB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3417, allocations: 8.031 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/0.3418, allocations: 52.38 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.3423, allocations: 340.3 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.3423, allocations: 37.36 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.3424, allocations: 44.36 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006935/0.3431, allocations: 403.5 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3431, allocations: 4.188 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.3431, allocations: 23.94 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3431, allocations: 12 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.3437, allocations: 283.8 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.3459, allocations: 1.374 MB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.3466, allocations: 250.8 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.3469, allocations: 116.8 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3469, allocations: 4 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.347, allocations: 38.5 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/0.347, allocations: 3.938 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006661/0.3476, allocations: 298.4 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.3478, allocations: 106.8 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.3482, allocations: 405.5 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.3483, allocations: 33.7 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.3484, allocations: 247.7 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.3485, allocations: 74.98 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3486, allocations: 69.94 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3488, allocations: 350.8 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.349, allocations: 118 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.3494, allocations: 208.3 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.3499, allocations: 272.6 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3499, allocations: 4 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007094/0.3506, allocations: 362.7 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3506, allocations: 8 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3506, allocations: 0 / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.3507, allocations: 7.938 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.351, allocations: 75.89 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.683e-05/0.351, allocations: 7.984 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.3513, allocations: 59.72 kB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3513, allocations: 15.94 kB / 1.063 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002769/0.3516, allocations: 198.3 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002383/0.3519, allocations: 187 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003227/0.3522, allocations: 237.5 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.3522, allocations: 0 / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004972/0.3527, allocations: 314.5 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.3527, allocations: 4 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3527, allocations: 4 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.3527, allocations: 4 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.353, allocations: 72.16 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.353, allocations: 4 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.3532, allocations: 35.67 kB / 1.064 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3533, allocations: 19.98 kB / 1.064 GB, free: 11.74 MB / 0.8262 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.con1.y,limPID.con1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.3534, allocations: 196.1 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.3535, allocations: 35.61 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.354, allocations: 244.9 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.354, allocations: 4 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.354, allocations: 0 / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.354, allocations: 0 / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.3553, allocations: 0.7896 MB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3553, allocations: 0 / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.3555, allocations: 51.91 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3555, allocations: 7.938 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3556, allocations: 8 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3556, allocations: 3.984 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3556, allocations: 8.156 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.3563, allocations: 452.5 kB / 1.066 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3564, allocations: 124.7 kB / 1.066 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.3565, allocations: 4 kB / 1.066 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3567, allocations: 15.98 kB / 1.066 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.3567, allocations: 23.86 kB / 1.066 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3567, allocations: 12 kB / 1.066 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003421/0.3571, allocations: 283.2 kB / 1.067 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3571, allocations: 0 / 1.067 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000509/0.3576, allocations: 131.4 kB / 1.067 GB, free: 9.246 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (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.0001683/0.3578, allocations: 111.2 kB / 1.067 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007867/0.3586, allocations: 392.6 kB / 1.067 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3586, allocations: 0 / 1.067 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.3588, allocations: 101 kB / 1.067 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.3594, allocations: 65.53 kB / 1.067 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3609, allocations: 0.8093 MB / 1.068 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.3613, allocations: 0.8038 MB / 1.069 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.3614, allocations: 39.27 kB / 1.069 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.3615, allocations: 31.42 kB / 1.069 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of SimCode: time 1.733e-06/0.3615, allocations: 4 kB / 1.069 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of Templates: time 0.007316/0.3689, allocations: 3.31 MB / 1.072 GB, free: 3.543 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches