Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 103.5 kB / 16.41 MB, free: 6.508 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.001361/0.001361, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 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.614/2.614, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9218/0.9239, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.00356/0.9275, allocations: 1.852 MB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.9297, allocations: 1.267 MB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.9302, allocations: 11.94 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.9306, allocations: 71.25 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.9309, allocations: 55.45 kB / 1.171 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.9315, allocations: 175.7 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000751/0.9323, allocations: 497 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.9328, allocations: 246.3 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.933, allocations: 183.3 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.9333, allocations: 195 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.9334, allocations: 52 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.9335, allocations: 52 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.9336, allocations: 107.6 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.9338, allocations: 206.8 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.9344, allocations: 0.5603 MB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9345, allocations: 0 / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9345, allocations: 0 / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.435e-05/0.9345, allocations: 0 / 1.173 GB, free: 14.31 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001514/0.936, allocations: 0.7192 MB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.9361, allocations: 12.92 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.9362, allocations: 48.38 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.9368, allocations: 340.3 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.9368, allocations: 29.38 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.9369, allocations: 44.3 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.9376, allocations: 391.6 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.9376, allocations: 4.188 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.9377, allocations: 19.94 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.9377, allocations: 8 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/0.9383, allocations: 271.8 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.9405, allocations: 1.339 MB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007981/0.9413, allocations: 254.8 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.9416, allocations: 125.9 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.9416, allocations: 7.922 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.9416, allocations: 34.56 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 2.134e-06/0.9416, allocations: 0 / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0007008/0.9423, allocations: 314.8 kB / 1.177 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.9425, allocations: 106.8 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.9429, allocations: 401.6 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.943, allocations: 29.7 kB / 1.177 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.9431, allocations: 231.9 kB / 1.177 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.9432, allocations: 78.84 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.9433, allocations: 69.61 kB / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9435, allocations: 346.8 kB / 1.178 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.9438, allocations: 120.7 kB / 1.178 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.9441, allocations: 203.3 kB / 1.178 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.9446, allocations: 269.7 kB / 1.178 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.9447, allocations: 0 / 1.178 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007524/0.9454, allocations: 371.2 kB / 1.179 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.9455, allocations: 16.09 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.9455, allocations: 0 / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.9455, allocations: 4 kB / 1.179 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.9458, allocations: 67.89 kB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.9458, allocations: 4 kB / 1.179 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.9461, allocations: 51.56 kB / 1.179 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.9461, allocations: 16 kB / 1.179 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003167/0.9465, allocations: 200.1 kB / 1.179 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002439/0.9467, allocations: 185.7 kB / 1.179 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003264/0.947, allocations: 220.3 kB / 1.179 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.307e-06/0.9471, allocations: 4 kB / 1.179 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005519/0.9476, allocations: 326.8 kB / 1.18 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.9476, allocations: 4.156 kB / 1.18 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9476, allocations: 11.94 kB / 1.18 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.9477, allocations: 3.938 kB / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.9479, allocations: 67.91 kB / 1.18 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.9479, allocations: 0 / 1.18 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.9482, allocations: 39.67 kB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.9482, allocations: 12 kB / 1.18 GB, free: 6.621 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001369/0.9483, allocations: 200.1 kB / 1.18 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.9484, allocations: 39.56 kB / 1.18 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.9489, allocations: 248.9 kB / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9489, allocations: 0 / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9489, allocations: 4 kB / 1.18 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.9489, allocations: 4 kB / 1.18 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.9503, allocations: 0.8451 MB / 1.181 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.9503, allocations: 4 kB / 1.181 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.9506, allocations: 47.91 kB / 1.181 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.9506, allocations: 4 kB / 1.181 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.9506, allocations: 11.98 kB / 1.181 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.9506, allocations: 4 kB / 1.181 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.9506, allocations: 3.938 kB / 1.181 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.9513, allocations: 487.3 kB / 1.182 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.9514, allocations: 124.6 kB / 1.182 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.9515, allocations: 4 kB / 1.182 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.9517, allocations: 23.97 kB / 1.182 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.9517, allocations: 23.86 kB / 1.182 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.9518, allocations: 12 kB / 1.182 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003038/0.9521, allocations: 283.2 kB / 1.182 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9521, allocations: 0 / 1.182 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005015/0.9526, allocations: 123.6 kB / 1.182 GB, free: 4.012 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.0001714/0.9528, allocations: 115.1 kB / 1.182 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000854/0.9536, allocations: 400.8 kB / 1.183 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9536, allocations: 0 / 1.183 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.9538, allocations: 100.9 kB / 1.183 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.9544, allocations: 89.53 kB / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.9558, allocations: 0.7153 MB / 1.184 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.9562, allocations: 0.7996 MB / 1.184 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.9563, allocations: 35.42 kB / 1.184 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of SimCode: time 1.814e-06/0.9563, allocations: 0 / 1.184 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of Templates: time 0.007475/0.9638, allocations: 4.278 MB / 1.189 GB, free: 13.42 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches