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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001595/0.001601, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 62.91 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4051, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003613/0.4088, allocations: 1.838 MB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.4106, allocations: 1.256 MB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.4108, allocations: 11.94 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.411, allocations: 75.19 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.4112, allocations: 59.45 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.4116, allocations: 167.7 kB / 1.072 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000488/0.4121, allocations: 485 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004604/0.4126, allocations: 279.4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.4128, allocations: 167.3 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.413, allocations: 206.9 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.4131, allocations: 52 kB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.856e-05/0.4132, allocations: 56 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.4133, allocations: 107.6 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.4134, allocations: 210.8 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.4139, allocations: 0.5609 MB / 1.074 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4139, allocations: 0 / 1.074 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4139, allocations: 0 / 1.074 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.414, allocations: 4 kB / 1.074 GB, free: 4.922 MB / 0.8262 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.001226/0.4152, allocations: 0.7368 MB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.4153, allocations: 12.03 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.4154, allocations: 52.28 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.4158, allocations: 348.3 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.4159, allocations: 29.38 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.4159, allocations: 48.31 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.4166, allocations: 403.6 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4166, allocations: 192 / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.4167, allocations: 23.92 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4167, allocations: 12 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.4173, allocations: 283.8 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.4195, allocations: 1.37 MB / 1.077 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.4203, allocations: 246.8 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.4206, allocations: 122.7 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.4206, allocations: 3.938 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.4207, allocations: 38.56 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.4207, allocations: 0 / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0007669/0.4215, allocations: 295.3 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.4216, allocations: 106.8 kB / 1.078 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.422, allocations: 409.5 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.4221, allocations: 33.7 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.4223, allocations: 247.7 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.4224, allocations: 74.98 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.4225, allocations: 69.94 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4227, allocations: 346.7 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.4229, allocations: 122.1 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.4233, allocations: 208.3 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.4238, allocations: 277.4 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4238, allocations: 4 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007138/0.4245, allocations: 360.8 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4246, allocations: 12.22 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4246, allocations: 0 / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.4246, allocations: 7.938 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.4249, allocations: 71.89 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4249, allocations: 0 / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.4252, allocations: 63.5 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4252, allocations: 8 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003053/0.4255, allocations: 202.5 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002396/0.4258, allocations: 187 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003392/0.4261, allocations: 237 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.4262, allocations: 4 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005512/0.4267, allocations: 315.2 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.4267, allocations: 4 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4267, allocations: 4 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.4268, allocations: 96 / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.427, allocations: 75.83 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.427, allocations: 0 / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.4272, allocations: 35.73 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.4273, allocations: 16.22 kB / 1.081 GB, free: 13.11 MB / 0.8419 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.0001753/0.4275, allocations: 208.1 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.4275, allocations: 35.53 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/0.4281, allocations: 237 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4281, allocations: 4 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4281, allocations: 0 / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4281, allocations: 4 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.4294, allocations: 0.7853 MB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4295, allocations: 4.031 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.4297, allocations: 43.97 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.4297, allocations: 4 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.4297, allocations: 3.984 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4297, allocations: 4 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4297, allocations: 3.938 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.4305, allocations: 461.1 kB / 1.083 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/0.4306, allocations: 124.6 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.4306, allocations: 12 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.4308, allocations: 15.98 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.4308, allocations: 23.8 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.4309, allocations: 8 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000319/0.4312, allocations: 287.2 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.753e-06/0.4312, allocations: 0 / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005765/0.4318, allocations: 131.5 kB / 1.083 GB, free: 10.62 MB / 0.8419 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.0002639/0.4321, allocations: 115.8 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009043/0.433, allocations: 401.7 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.433, allocations: 4.312 kB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.4332, allocations: 95.83 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.4338, allocations: 75.12 kB / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4351, allocations: 0.6708 MB / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.4356, allocations: 0.7957 MB / 1.085 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.4357, allocations: 47.25 kB / 1.085 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.4358, allocations: 31.44 kB / 1.085 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of SimCode: time 8.11e-07/0.4358, allocations: 0 / 1.085 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of Templates: time 0.007378/0.4432, allocations: 3.479 MB / 1.089 GB, free: 4.875 MB / 0.8419 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