Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",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.001228/0.001229, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001795/0.001795, allocations: 168.7 kB / 15.95 MB, free: 204 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.685/2.685, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7171/0.7175, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003045/0.7206, allocations: 2.058 MB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.7228, allocations: 1.381 MB / 0.9845 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.723, allocations: 7.938 kB / 0.9845 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.7236, allocations: 211.1 kB / 0.9847 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.7239, allocations: 131.4 kB / 0.9848 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.7244, allocations: 138 kB / 0.985 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.7247, allocations: 303 kB / 0.9853 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.7249, allocations: 76.67 kB / 0.9853 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.725, allocations: 111.4 kB / 0.9854 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.7252, allocations: 135.3 kB / 0.9856 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.7253, allocations: 8 kB / 0.9856 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.7254, allocations: 47.97 kB / 0.9856 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.7255, allocations: 103.6 kB / 0.9857 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.442e-05/0.7256, allocations: 93.39 kB / 0.9858 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.726, allocations: 379.1 kB / 0.9862 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.726, allocations: 0 / 0.9862 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.684e-06/0.726, allocations: 0 / 0.9862 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.726, allocations: 0 / 0.9862 GB, free: 1.074 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001029/0.7271, allocations: 0.7466 MB / 0.9869 GB, free: 284 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.7271, allocations: 8.031 kB / 0.9869 GB, free: 276 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.7272, allocations: 46.5 kB / 0.9869 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.7273, allocations: 55.34 kB / 0.987 GB, free: 164 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.7278, allocations: 391.2 kB / 0.9874 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.7278, allocations: 12.23 kB / 0.9874 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.7278, allocations: 19.94 kB / 0.9874 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.7281, allocations: 142.2 kB / 0.9875 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7281, allocations: 0 / 0.9875 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.7282, allocations: 4 kB / 0.9875 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.7282, allocations: 4 kB / 0.9875 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.7284, allocations: 75.97 kB / 0.9876 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.7294, allocations: 0.6563 MB / 0.9883 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.7297, allocations: 142.6 kB / 0.9884 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.7299, allocations: 44.84 kB / 0.9884 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.7299, allocations: 7.938 kB / 0.9884 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.7301, allocations: 111.2 kB / 0.9886 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.7301, allocations: 0 / 0.9886 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0004131/0.7305, allocations: 208.9 kB / 0.9888 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.7306, allocations: 59.33 kB / 0.9888 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.7313, allocations: 0.6475 MB / 0.9894 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.7313, allocations: 29.7 kB / 0.9895 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.7315, allocations: 256.4 kB / 0.9897 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.7316, allocations: 39.55 kB / 0.9897 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.7316, allocations: 8 kB / 0.9898 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7318, allocations: 370.8 kB / 0.9901 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.7319, allocations: 71.97 kB / 0.9902 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.7321, allocations: 120.9 kB / 0.9903 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.7322, allocations: 81.27 kB / 0.9904 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7322, allocations: 4.031 kB / 0.9904 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003818/0.7326, allocations: 262.7 kB / 0.9906 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7326, allocations: 8 kB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7327, allocations: 3.953 kB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7327, allocations: 3.938 kB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.7328, allocations: 35.98 kB / 0.9907 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7329, allocations: 4 kB / 0.9907 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.733, allocations: 35.91 kB / 0.9907 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.7331, allocations: 12 kB / 0.9907 GB, free: 12.16 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: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002149/0.7333, allocations: 201.7 kB / 0.9909 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.7334, allocations: 51.34 kB / 0.991 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.807e-05/0.7335, allocations: 60.66 kB / 0.991 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7335, allocations: 3.953 kB / 0.991 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7335, allocations: 0 / 0.991 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7335, allocations: 4 kB / 0.991 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.7339, allocations: 377.3 kB / 0.9914 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7339, allocations: 0 / 0.9914 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.7339, allocations: 8 kB / 0.9914 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.734, allocations: 0 / 0.9914 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.734, allocations: 11.98 kB / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.734, allocations: 0 / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.734, allocations: 7.891 kB / 0.9914 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.7344, allocations: 256.4 kB / 0.9917 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.7345, allocations: 124.5 kB / 0.9918 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.7346, allocations: 8 kB / 0.9918 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.7347, allocations: 15.98 kB / 0.9918 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.7348, allocations: 31.84 kB / 0.9918 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.7348, allocations: 4 kB / 0.9918 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004417/0.7352, allocations: 430.8 kB / 0.9922 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7353, allocations: 0 / 0.9922 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002868/0.7355, allocations: 63.91 kB / 0.9923 GB, free: 10.43 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001574/0.7371, allocations: 1.114 MB / 0.9934 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.7375, allocations: 155.9 kB / 0.9935 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7375, allocations: 0 / 0.9935 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.7376, allocations: 55.92 kB / 0.9936 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.738, allocations: 69.08 kB / 0.9937 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.7419, allocations: 2.907 MB / 0.9965 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.7424, allocations: 0.8596 MB / 0.9973 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.7426, allocations: 34.28 kB / 0.9974 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.7428, allocations: 155.4 kB / 0.9975 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.7428, allocations: 0 / 0.9975 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.7632, allocations: 8.933 MB / 1.006 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/0.7636, allocations: 231.2 kB / 1.006 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.737, allocations: 0 / 1.006 GB, free: 12.16 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat does not exist to compare? outputFormat=mat