Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 111.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.001704/0.001704, allocations: 189.6 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7949, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.00278/0.7977, allocations: 1.853 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.7993, allocations: 1.259 MB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.7994, allocations: 7.281 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.7997, allocations: 74.39 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.7998, allocations: 60 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.8002, allocations: 164.9 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.8006, allocations: 0.489 MB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.801, allocations: 256.7 kB / 1.093 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.8012, allocations: 172.8 kB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.8014, allocations: 194.7 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/0.8015, allocations: 51.31 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.8015, allocations: 50.53 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.8016, allocations: 105.2 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.8018, allocations: 210 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.8024, allocations: 0.559 MB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.8024, allocations: 0.7812 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8024, allocations: 0 / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.8024, allocations: 0.5625 kB / 1.094 GB, free: 2.227 MB / 0.8575 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.00112/0.8035, allocations: 0.727 MB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.8036, allocations: 9.312 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.492e-05/0.8037, allocations: 48.95 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.8041, allocations: 331.2 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.8041, allocations: 33.31 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.8042, allocations: 42.28 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006789/0.8049, allocations: 392.7 kB / 1.096 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8049, allocations: 4.125 kB / 1.096 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.805, allocations: 15.94 kB / 1.096 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.805, allocations: 8.562 kB / 1.096 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.8056, allocations: 277.7 kB / 1.096 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.8075, allocations: 1.349 MB / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/0.8083, allocations: 251.8 kB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.8086, allocations: 124.7 kB / 1.098 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.8086, allocations: 4.406 kB / 1.098 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.8087, allocations: 36.95 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.021e-06/0.8087, allocations: 0 / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0007507/0.8094, allocations: 309.2 kB / 1.098 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.8095, allocations: 106.8 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.8101, allocations: 403.7 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.8101, allocations: 31.89 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.8103, allocations: 232.4 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.8104, allocations: 82.8 kB / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.8105, allocations: 64.97 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8107, allocations: 342.7 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.811, allocations: 119.2 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.8113, allocations: 207.3 kB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.8119, allocations: 268.2 kB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.8119, allocations: 1.406 kB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007732/0.8127, allocations: 367.3 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8127, allocations: 9.281 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8127, allocations: 2.453 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.8127, allocations: 3.281 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.8131, allocations: 80.94 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.8131, allocations: 4.344 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.8134, allocations: 59.47 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.8134, allocations: 13.2 kB / 1.1 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003035/0.8137, allocations: 205.1 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002776/0.814, allocations: 176.7 kB / 1.101 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003318/0.8143, allocations: 221.9 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.8143, allocations: 4.812 kB / 1.101 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005749/0.8149, allocations: 322.8 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.8149, allocations: 5.75 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.815, allocations: 5.719 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.815, allocations: 3.219 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.8152, allocations: 64.09 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.8152, allocations: 3.25 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.8155, allocations: 40.83 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.8155, allocations: 12.59 kB / 1.101 GB, free: 13.68 MB / 0.8731 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.0001314/0.8156, allocations: 199.3 kB / 1.101 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.8157, allocations: 39.84 kB / 1.101 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.8162, allocations: 247.2 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.8163, allocations: 2.453 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8163, allocations: 3.938 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8163, allocations: 2.188 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.8178, allocations: 0.8453 MB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8178, allocations: 2.594 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.818, allocations: 49.56 kB / 1.103 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.818, allocations: 4.109 kB / 1.103 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.8181, allocations: 13.77 kB / 1.103 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.8181, allocations: 4.156 kB / 1.103 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8181, allocations: 1.281 kB / 1.103 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008377/0.8189, allocations: 498.5 kB / 1.103 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.819, allocations: 120.2 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.8191, allocations: 9.266 kB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.8193, allocations: 23.53 kB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.8194, allocations: 20.52 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.8194, allocations: 8.516 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004001/0.8198, allocations: 283 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.433e-06/0.8198, allocations: 0 / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005079/0.8203, allocations: 121.7 kB / 1.104 GB, free: 12.11 MB / 0.8731 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.0001639/0.8205, allocations: 117.1 kB / 1.104 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008394/0.8213, allocations: 398.5 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.8213, allocations: 4.125 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.8215, allocations: 105.9 kB / 1.104 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.8221, allocations: 80.98 kB / 1.104 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.8234, allocations: 0.6997 MB / 1.105 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.8238, allocations: 0.7924 MB / 1.106 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.8239, allocations: 35.64 kB / 1.106 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.8239, allocations: 0 / 1.106 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of Templates: time 0.007862/0.8318, allocations: 4.293 MB / 1.11 GB, free: 10.17 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches