Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.001108/0.001109, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 66.83 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2437, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003435/0.2471, allocations: 2.193 MB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2491, allocations: 1.37 MB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.2492, allocations: 3.938 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.2498, allocations: 187.6 kB / 1.057 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.2501, allocations: 127.4 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.2505, allocations: 150.8 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.2508, allocations: 227.1 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.2509, allocations: 44.61 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.2511, allocations: 91.52 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2512, allocations: 95.55 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.2512, allocations: 11.94 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.2514, allocations: 67.89 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.2515, allocations: 83.69 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.2516, allocations: 131 kB / 1.058 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.252, allocations: 350.7 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.252, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.252, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.252, allocations: 4 kB / 1.058 GB, free: 3.102 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000864/0.2529, allocations: 0.6763 MB / 1.059 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2529, allocations: 12.56 kB / 1.059 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.253, allocations: 38.75 kB / 1.059 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.2531, allocations: 44.38 kB / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.2535, allocations: 352.3 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2535, allocations: 12.12 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2535, allocations: 8 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.2537, allocations: 77.64 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2537, allocations: 3.938 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2537, allocations: 4 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2537, allocations: 0 / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.2538, allocations: 35.98 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.2545, allocations: 464.5 kB / 1.06 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2547, allocations: 66.61 kB / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.2547, allocations: 24.84 kB / 1.06 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2548, allocations: 4.109 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.2549, allocations: 83.31 kB / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.2549, allocations: 0 / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003145/0.2553, allocations: 148.9 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2553, allocations: 51.41 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.2558, allocations: 0.5294 MB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.2559, allocations: 37.69 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.256, allocations: 215.9 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.256, allocations: 19.78 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.2561, allocations: 45.7 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2562, allocations: 354.8 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.2564, allocations: 47.97 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.2565, allocations: 75.64 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.2566, allocations: 87.89 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2567, allocations: 8.031 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000308/0.257, allocations: 193 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.257, allocations: 4 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.257, allocations: 0 / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.257, allocations: 7.875 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2572, allocations: 27.98 kB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2572, allocations: 0 / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2573, allocations: 15.89 kB / 1.062 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2573, allocations: 4 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.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.0001688/0.2575, allocations: 185.8 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.2576, allocations: 39.53 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.2576, allocations: 47.8 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2576, allocations: 3.938 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2577, allocations: 0 / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2577, allocations: 0 / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.2579, allocations: 297.4 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2579, allocations: 0 / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.2579, allocations: 4 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.258, allocations: 4.25 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.258, allocations: 8 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.258, allocations: 7.938 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.258, allocations: 0 / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.2582, allocations: 144.6 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.2583, allocations: 124.4 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.2584, allocations: 0 / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.2585, allocations: 15.86 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.2585, allocations: 19.97 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.2585, allocations: 4 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003674/0.2589, allocations: 362.8 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2589, allocations: 0 / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000267/0.2592, allocations: 43.98 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001392/0.2606, allocations: 0.9977 MB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.2608, allocations: 99.89 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2608, allocations: 0 / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.397e-05/0.2609, allocations: 27.94 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2613, allocations: 63.44 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.2648, allocations: 3.099 MB / 1.067 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2652, allocations: 0.8138 MB / 1.068 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.612e-05/0.2653, allocations: 33.52 kB / 1.068 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.2655, allocations: 115.4 kB / 1.068 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2655, allocations: 0 / 1.068 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3465/0.612, allocations: 7.148 MB / 1.075 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.95/9.562, allocations: 2.812 kB / 1.075 GB, free: 1.535 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches