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.00161/0.00161, allocations: 100.4 kB / 15.05 MB, free: 1.105 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.001922/0.001922, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.667/2.667, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.708/4.708, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008281/0.0008282, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477/1.477, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005405/1.483, allocations: 2.039 MB / 0.9829 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00348/1.486, allocations: 1.369 MB / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/1.487, allocations: 7.938 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008187/1.488, allocations: 199.3 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005859/1.488, allocations: 143.5 kB / 0.9845 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/1.489, allocations: 146.6 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000548/1.489, allocations: 223.5 kB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/1.49, allocations: 72.69 kB / 0.985 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/1.49, allocations: 119.5 kB / 0.9851 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/1.49, allocations: 123.4 kB / 0.9852 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/1.49, allocations: 4 kB / 0.9852 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/1.491, allocations: 39.97 kB / 0.9852 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/1.491, allocations: 115.6 kB / 0.9853 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/1.491, allocations: 89.45 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/1.492, allocations: 387.1 kB / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.492, allocations: 0 / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.745e-06/1.492, allocations: 0 / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.027e-05/1.492, allocations: 0 / 0.9858 GB, free: 1.219 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.001764/1.493, allocations: 0.7388 MB / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.675e-05/1.493, allocations: 8.031 kB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/1.494, allocations: 46.55 kB / 0.9866 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/1.494, allocations: 55.34 kB / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/1.495, allocations: 399.1 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/1.495, allocations: 12.23 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/1.495, allocations: 19.94 kB / 0.987 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/1.495, allocations: 134.3 kB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.495, allocations: 4 kB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/1.495, allocations: 8 kB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/1.495, allocations: 0 / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/1.496, allocations: 83.95 kB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/1.497, allocations: 0.6523 MB / 0.9879 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/1.498, allocations: 134.7 kB / 0.988 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/1.498, allocations: 3.938 kB / 0.988 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003577/1.498, allocations: 99.36 kB / 0.9881 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 2.705e-06/1.498, allocations: 0 / 0.9881 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0008634/1.499, allocations: 217 kB / 0.9883 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/1.499, allocations: 59.41 kB / 0.9884 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/1.501, allocations: 0.6436 MB / 0.989 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/1.501, allocations: 33.64 kB / 0.989 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/1.501, allocations: 260.4 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/1.501, allocations: 39.55 kB / 0.9893 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/1.501, allocations: 4 kB / 0.9893 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000409/1.502, allocations: 362.8 kB / 0.9897 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/1.502, allocations: 79.97 kB / 0.9898 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/1.503, allocations: 116.9 kB / 0.9899 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/1.503, allocations: 77.27 kB / 0.9899 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.503, allocations: 0 / 0.9899 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000909/1.504, allocations: 266.8 kB / 0.9902 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/1.504, allocations: 9.406 kB / 0.9902 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.504, allocations: 0 / 0.9902 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/1.504, allocations: 4.016 kB / 0.9902 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/1.504, allocations: 43.91 kB / 0.9902 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.504, allocations: 4 kB / 0.9902 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/1.505, allocations: 27.89 kB / 0.9903 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/1.505, allocations: 12 kB / 0.9903 GB, free: 12.38 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.0003798/1.505, allocations: 201.8 kB / 0.9905 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.505, allocations: 55.33 kB / 0.9905 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/1.506, allocations: 64.59 kB / 0.9906 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.506, allocations: 3.953 kB / 0.9906 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.506, allocations: 0 / 0.9906 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/1.506, allocations: 7.984 kB / 0.9906 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/1.506, allocations: 369.3 kB / 0.991 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.506, allocations: 0 / 0.991 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-05/1.506, allocations: 15.92 kB / 0.991 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.506, allocations: 3.938 kB / 0.991 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/1.506, allocations: 8 kB / 0.991 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.506, allocations: 4 kB / 0.991 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.506, allocations: 3.953 kB / 0.991 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008278/1.507, allocations: 248.4 kB / 0.9912 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/1.507, allocations: 132.4 kB / 0.9914 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.209e-05/1.508, allocations: 8 kB / 0.9914 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/1.508, allocations: 20.05 kB / 0.9914 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.508, allocations: 23.95 kB / 0.9914 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/1.508, allocations: 11.89 kB / 0.9914 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007322/1.509, allocations: 426.8 kB / 0.9918 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.509, allocations: 0 / 0.9918 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004686/1.509, allocations: 63.83 kB / 0.9919 GB, free: 10.64 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.002755/1.512, allocations: 1.115 MB / 0.993 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005019/1.512, allocations: 147.9 kB / 0.9931 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.512, allocations: 0 / 0.9931 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/1.513, allocations: 59.91 kB / 0.9932 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/1.513, allocations: 67.02 kB / 0.9932 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/1.516, allocations: 1.395 MB / 0.9946 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/1.517, allocations: 0.8691 MB / 0.9954 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001994/1.517, allocations: 46.25 kB / 0.9955 GB, free: 7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/1.517, allocations: 159.4 kB / 0.9956 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of SimCode: time 1.693e-06/1.517, allocations: 4 kB / 0.9956 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0994/1.617, allocations: 8.747 MB / 1.004 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003703/1.617, allocations: 226.9 kB / 1.004 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.86/5.477, allocations: 0 / 1.004 GB, free: 14.05 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