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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.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.001101/0.001101, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001369/0.001369, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 240 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.477/2.477, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005815/0.000582, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7886, allocations: 146.8 MB / 0.9811 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003336/0.792, allocations: 1.844 MB / 0.9829 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.7943, allocations: 1.269 MB / 0.9842 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.7945, allocations: 0 / 0.9842 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006612/0.7952, allocations: 179.2 kB / 0.9843 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.7956, allocations: 103.5 kB / 0.9844 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.7962, allocations: 111.7 kB / 0.9845 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.7966, allocations: 199.2 kB / 0.9847 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.7968, allocations: 44.31 kB / 0.9848 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.797, allocations: 83.58 kB / 0.9849 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.7972, allocations: 95.55 kB / 0.985 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.7972, allocations: 7.938 kB / 0.985 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.7974, allocations: 39.97 kB / 0.985 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.7975, allocations: 83.67 kB / 0.9851 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.979e-05/0.7976, allocations: 73.52 kB / 0.9851 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.7979, allocations: 265.6 kB / 0.9854 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7979, allocations: 0 / 0.9854 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.536e-06/0.798, allocations: 3.984 kB / 0.9854 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.798, allocations: 0 / 0.9854 GB, free: 1.82 MB / 0.7325 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.0009961/0.799, allocations: 0.626 MB / 0.986 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.799, allocations: 12.03 kB / 0.986 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.7991, allocations: 38.5 kB / 0.9861 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.7992, allocations: 47.44 kB / 0.9861 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.7997, allocations: 331.2 kB / 0.9864 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.7997, allocations: 4 kB / 0.9864 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.7998, allocations: 8 kB / 0.9864 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.8, allocations: 81.55 kB / 0.9865 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.8, allocations: 0 / 0.9865 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.8, allocations: 0 / 0.9865 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.8, allocations: 0 / 0.9865 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.8001, allocations: 35.98 kB / 0.9865 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.8009, allocations: 468.5 kB / 0.987 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.8011, allocations: 74.59 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.8012, allocations: 28.84 kB / 0.9871 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.8012, allocations: 0 / 0.9871 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.8014, allocations: 71.39 kB / 0.9872 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.8014, allocations: 0 / 0.9872 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=6): time 0.0003505/0.8018, allocations: 145 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.8018, allocations: 51.41 kB / 0.9874 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.8025, allocations: 0.5371 MB / 0.9879 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.8025, allocations: 29.7 kB / 0.9879 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.8027, allocations: 212 kB / 0.9881 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.8027, allocations: 19.8 kB / 0.9881 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.8027, allocations: 4 kB / 0.9881 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8029, allocations: 358.8 kB / 0.9885 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.803, allocations: 47.97 kB / 0.9885 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.8031, allocations: 79.95 kB / 0.9886 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.8032, allocations: 47.94 kB / 0.9886 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8032, allocations: 0 / 0.9886 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003254/0.8036, allocations: 198.9 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.8036, allocations: 4 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8036, allocations: 0 / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8036, allocations: 4 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.8038, allocations: 23.92 kB / 0.9889 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.8038, allocations: 8.062 kB / 0.9889 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.8039, allocations: 15.98 kB / 0.9889 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.8039, allocations: 4 kB / 0.9889 GB, free: 14.02 MB / 0.7481 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 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.8041, allocations: 185.9 kB / 0.9891 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.8042, allocations: 43.42 kB / 0.9891 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.319e-05/0.8043, allocations: 43.81 kB / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8043, allocations: 0 / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8043, allocations: 8 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8043, allocations: 4 kB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.8046, allocations: 309.3 kB / 0.9895 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8046, allocations: 0 / 0.9895 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.8046, allocations: 4 kB / 0.9895 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.8046, allocations: 4.094 kB / 0.9895 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.8046, allocations: 7.938 kB / 0.9895 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8046, allocations: 0 / 0.9895 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.8046, allocations: 3.984 kB / 0.9895 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.8049, allocations: 156.5 kB / 0.9896 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.805, allocations: 116.5 kB / 0.9897 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.805, allocations: 4 kB / 0.9897 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.8051, allocations: 8 kB / 0.9897 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.8051, allocations: 11.97 kB / 0.9898 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.8052, allocations: 4 kB / 0.9898 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003848/0.8056, allocations: 358.8 kB / 0.9901 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.843e-06/0.8056, allocations: 0 / 0.9901 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002724/0.8058, allocations: 51.92 kB / 0.9901 GB, free: 12.62 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/0.8072, allocations: 1 MB / 0.9911 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.8075, allocations: 99.83 kB / 0.9912 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8075, allocations: 4.062 kB / 0.9912 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.366e-05/0.8076, allocations: 24 kB / 0.9912 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.808, allocations: 52.02 kB / 0.9913 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.811, allocations: 2.197 MB / 0.9934 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.8114, allocations: 0.8102 MB / 0.9942 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.566e-05/0.8115, allocations: 29.53 kB / 0.9943 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.8117, allocations: 115.4 kB / 0.9944 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of SimCode: time 7.91e-07/0.8117, allocations: 0 / 0.9944 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.8301, allocations: 6.967 MB / 1.001 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.8304, allocations: 253.4 kB / 1.001 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.797, allocations: 0 / 1.001 GB, free: 1.266 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat does not exist to compare? outputFormat=mat