Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001496, allocations: 107.7 kB / 16.36 MB, free: 6.285 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.001677/0.001677, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.372/2.372, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.98 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2486, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003047/0.2517, allocations: 2.057 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007102/0.2524, allocations: 458.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2525, allocations: 4 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.2527, allocations: 39.59 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.853e-05/0.2528, allocations: 35.67 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.253, allocations: 103.8 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.2533, allocations: 284.5 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.2535, allocations: 160.5 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2537, allocations: 99.59 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.2538, allocations: 107.5 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.2538, allocations: 32 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.344e-05/0.2539, allocations: 36 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.2539, allocations: 59.78 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.254, allocations: 123.3 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.2543, allocations: 382.7 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2543, allocations: 0 / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2543, allocations: 0 / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2543, allocations: 0 / 1.031 GB, free: 14.09 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007569/0.2551, allocations: 0.547 MB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.2551, allocations: 8.031 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.2552, allocations: 28.56 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2555, allocations: 264.3 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2556, allocations: 16.81 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.2556, allocations: 24.22 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.256, allocations: 238.3 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2561, allocations: 3.938 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.2561, allocations: 8 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2561, allocations: 4 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.2565, allocations: 169 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2576, allocations: 0.8482 MB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.258, allocations: 182.8 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2583, allocations: 96.69 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.2583, allocations: 4 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2583, allocations: 30.56 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.2583, allocations: 0 / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005794/0.2589, allocations: 229.5 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.259, allocations: 81.11 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.2592, allocations: 235.2 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2592, allocations: 33.7 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.2593, allocations: 160 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.2594, allocations: 35.45 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.2594, allocations: 41.61 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.2595, allocations: 330.8 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.2597, allocations: 72.75 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.2599, allocations: 113.1 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.2603, allocations: 166.7 kB / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2603, allocations: 4 kB / 1.034 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004243/0.2607, allocations: 197.4 kB / 1.035 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2607, allocations: 8 kB / 1.035 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2607, allocations: 0 / 1.035 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2608, allocations: 3.938 kB / 1.035 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2609, allocations: 40.02 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2609, allocations: 3.984 kB / 1.035 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2611, allocations: 31.83 kB / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2611, allocations: 7.938 kB / 1.035 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001871/0.2613, allocations: 152.1 kB / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001428/0.2614, allocations: 103.4 kB / 1.035 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002415/0.2617, allocations: 127.3 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.2617, allocations: 4 kB / 1.035 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003265/0.262, allocations: 181.4 kB / 1.035 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.262, allocations: 4 kB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.262, allocations: 0 / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-06/0.2621, allocations: 4 kB / 1.035 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2622, allocations: 43.84 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.2622, allocations: 0 / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.2623, allocations: 19.98 kB / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2623, allocations: 12 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.298e-05/0.2624, allocations: 192.1 kB / 1.035 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.2625, allocations: 15.81 kB / 1.035 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.2625, allocations: 25.33 kB / 1.036 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2625, allocations: 4 kB / 1.036 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2625, allocations: 0 / 1.036 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2626, allocations: 0 / 1.036 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.2628, allocations: 297.5 kB / 1.036 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2629, allocations: 4 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.263, allocations: 27.98 kB / 1.036 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.263, allocations: 0 / 1.036 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.263, allocations: 11.92 kB / 1.036 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.263, allocations: 4 kB / 1.036 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2631, allocations: 0 / 1.036 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.2636, allocations: 347 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.2637, allocations: 96.95 kB / 1.036 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.2637, allocations: 7.938 kB / 1.036 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2639, allocations: 19.97 kB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.2639, allocations: 7.938 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.264, allocations: 7.984 kB / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001511/0.2641, allocations: 172.5 kB / 1.036 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2641, allocations: 0 / 1.036 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003638/0.2645, allocations: 67.69 kB / 1.037 GB, free: 7.566 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.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 (12): * Single equations (assignments): 12 * 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 9.821e-05/0.2646, allocations: 103.2 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.2651, allocations: 226.9 kB / 1.037 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2651, allocations: 0 / 1.037 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.2653, allocations: 71.89 kB / 1.037 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.2657, allocations: 38.05 kB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.2663, allocations: 389.6 kB / 1.037 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2666, allocations: 0.7361 MB / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.294e-05/0.2667, allocations: 21.55 kB / 1.038 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.2668, allocations: 19.42 kB / 1.038 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of SimCode: time 1.473e-06/0.2668, allocations: 0 / 1.038 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of Templates: time 0.004705/0.2715, allocations: 2.01 MB / 1.04 GB, free: 3.934 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches