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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005272/0.005272, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.567/2.567, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005097, allocations: 9.062 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2573, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002076/0.2594, allocations: 1.734 MB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006532/0.2601, allocations: 418.7 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2602, allocations: 4 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.2603, allocations: 27.73 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.515e-05/0.2604, allocations: 23.8 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.2606, allocations: 91.94 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.2609, allocations: 264.5 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.2611, allocations: 144.5 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.2612, allocations: 59.59 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.2613, allocations: 75.44 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.2613, allocations: 4 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.2613, allocations: 8 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.2614, allocations: 27.8 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.82e-05/0.2614, allocations: 113.1 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.2617, allocations: 343 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2617, allocations: 7.938 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2617, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2617, allocations: 0 / 1.062 GB, free: 1.504 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.0006778/0.2624, allocations: 0.5069 MB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2625, allocations: 15.97 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.2625, allocations: 50.73 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.2626, allocations: 32.66 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.2629, allocations: 264.2 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2629, allocations: 12.81 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.2629, allocations: 28.36 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.2634, allocations: 250 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.2634, allocations: 0 / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.2634, allocations: 8 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2634, allocations: 15.94 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.2638, allocations: 189 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.2649, allocations: 0.8445 MB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.2654, allocations: 198.7 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.2656, allocations: 117 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.2656, allocations: 0 / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2657, allocations: 38.56 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.2657, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006171/0.2663, allocations: 261.1 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2663, allocations: 85.11 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.2666, allocations: 243.1 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2666, allocations: 25.7 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.2667, allocations: 152.1 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.2667, allocations: 39.45 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.2668, allocations: 25.64 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.2669, allocations: 326.8 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.2671, allocations: 79.95 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.2673, allocations: 122.8 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.2676, allocations: 178.1 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2676, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004457/0.2681, allocations: 225.2 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.2682, allocations: 123.6 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2682, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.2682, allocations: 4 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.2684, allocations: 35.98 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2684, allocations: 3.938 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.2685, allocations: 43.81 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2685, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.2685, allocations: 4 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002998/0.2688, allocations: 151.3 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.2689, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/0.2689, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.269, allocations: 31.92 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.269, allocations: 11.92 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2691, allocations: 23.83 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.2691, allocations: 12 kB / 1.067 GB, free: 12.49 MB / 0.8262 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 0.0001363/0.2693, allocations: 209.1 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.2693, allocations: 19.8 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.2694, allocations: 25.41 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2694, allocations: 3.938 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2694, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2694, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.2697, allocations: 305.4 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2697, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.2698, allocations: 39.91 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2699, allocations: 7.938 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2699, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2699, allocations: 3.938 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2699, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.2705, allocations: 375.2 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.2706, allocations: 100.9 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.2706, allocations: 4 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.2707, allocations: 23.92 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.2708, allocations: 15.92 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2708, allocations: 4.062 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001428/0.2709, allocations: 172.5 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.362e-06/0.271, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003268/0.2713, allocations: 75.61 kB / 1.068 GB, free: 11.04 MB / 0.8262 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 0.0008382/0.2721, allocations: 0.8998 MB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005366/0.2727, allocations: 243.8 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2727, allocations: 4 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.2729, allocations: 88.27 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.2732, allocations: 32.59 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.2761, allocations: 2.404 MB / 1.072 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2763, allocations: 0.7326 MB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.613e-05/0.2764, allocations: 29.52 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.2765, allocations: 59.42 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2765, allocations: 4 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.725/2.001, allocations: 3.746 MB / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/2.002, allocations: 223.3 kB / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/4.097, allocations: 4.438 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > 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