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.001517/0.001517, 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.00177/0.00177, allocations: 198.6 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.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.711/2.711, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.88 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7736, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003456/0.7771, allocations: 2.113 MB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.7797, allocations: 1.592 MB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.7801, allocations: 11.94 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.7805, allocations: 59.38 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.7807, allocations: 55.62 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.7815, allocations: 283.4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.782, allocations: 0.6178 MB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.7825, allocations: 321.3 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.7827, allocations: 223 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.783, allocations: 250.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.783, allocations: 36 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.7832, allocations: 51.92 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.7833, allocations: 107.5 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.7835, allocations: 266.4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.7842, allocations: 0.7613 MB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7842, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.021e-06/0.7842, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.7842, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 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.001584/0.7858, allocations: 0.9071 MB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7858, allocations: 8.031 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.786, allocations: 68.19 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.7865, allocations: 404.5 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.7865, allocations: 41.38 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.114e-05/0.7866, allocations: 60.38 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008283/0.7875, allocations: 499.5 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.7875, allocations: 192 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.7875, allocations: 31.86 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.7875, allocations: 12 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.7882, allocations: 347.8 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.7906, allocations: 1.57 MB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/0.7915, allocations: 0.862 MB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.7919, allocations: 235.4 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.792, allocations: 7.984 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005285/0.7925, allocations: 244.8 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=47): time 2.184e-06/0.7925, allocations: 0 / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47): time 0.001043/0.7936, allocations: 0.5336 MB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.7936, allocations: 107.2 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.7941, allocations: 389.6 kB / 1.029 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.7941, allocations: 37.7 kB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.7943, allocations: 249 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.7944, allocations: 161.6 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.7946, allocations: 98.23 kB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7947, allocations: 354.8 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.7952, allocations: 183 kB / 1.03 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.7956, allocations: 288.2 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/0.7963, allocations: 427.4 kB / 1.031 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7964, allocations: 0 / 1.031 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001067/0.7974, allocations: 0.5713 MB / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.7975, allocations: 45.62 kB / 1.032 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7975, allocations: 4 kB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.7975, allocations: 4 kB / 1.032 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.7979, allocations: 95.83 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.798, allocations: 8.219 kB / 1.032 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.7984, allocations: 83.47 kB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.7984, allocations: 23.98 kB / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004307/0.7989, allocations: 277.2 kB / 1.032 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003785/0.7992, allocations: 264.2 kB / 1.032 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005381/0.7998, allocations: 387.4 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.7998, allocations: 0 / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.000889/0.8007, allocations: 0.5205 MB / 1.033 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.8007, allocations: 37.92 kB / 1.033 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8008, allocations: 11.94 kB / 1.033 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.8008, allocations: 4 kB / 1.033 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.8011, allocations: 95.83 kB / 1.033 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8011, allocations: 4 kB / 1.033 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.8015, allocations: 75.48 kB / 1.033 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.8015, allocations: 19.98 kB / 1.033 GB, free: 1.109 MB / 0.7794 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.0001629/0.8017, allocations: 212.7 kB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.8017, allocations: 47.38 kB / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007836/0.8025, allocations: 429.4 kB / 1.034 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.8026, allocations: 7.984 kB / 1.034 GB, free: 420 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8026, allocations: 0 / 1.034 GB, free: 420 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.8026, allocations: 11.98 kB / 1.034 GB, free: 408 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.8042, allocations: 1.136 MB / 1.035 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8042, allocations: 7.938 kB / 1.035 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.8046, allocations: 79.89 kB / 1.035 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8046, allocations: 4 kB / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.8046, allocations: 8 kB / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.8046, allocations: 7.984 kB / 1.035 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8046, allocations: 7.938 kB / 1.035 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.8058, allocations: 0.7211 MB / 1.036 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.8059, allocations: 136.5 kB / 1.036 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.8059, allocations: 8 kB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.8062, allocations: 23.98 kB / 1.036 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.8062, allocations: 35.67 kB / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.8063, allocations: 20 kB / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003062/0.8066, allocations: 279.1 kB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8066, allocations: 0 / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006208/0.8072, allocations: 195.3 kB / 1.037 GB, free: 13.61 MB / 0.795 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.0002347/0.8075, allocations: 123.1 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.8089, allocations: 0.7837 MB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8089, allocations: 0 / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.8093, allocations: 192.9 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.8099, allocations: 94.52 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.8115, allocations: 1.134 MB / 1.039 GB, free: 11.21 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.8119, allocations: 0.8515 MB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002307/0.8122, allocations: 55.38 kB / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.8123, allocations: 43.42 kB / 1.04 GB, free: 10.24 MB / 0.795 GB Notification: Performance of SimCode: time 6.11e-07/0.8123, allocations: 0 / 1.04 GB, free: 10.24 MB / 0.795 GB Notification: Performance of Templates: time 0.01072/0.823, allocations: 5.713 MB / 1.046 GB, free: 4.578 MB / 0.795 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/jenkins/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