Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.339/2.339, allocations: 390.3 MB / 402.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 0.7915 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 87.75 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.627e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2594, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8811/1.141, allocations: 156.2 MB / 1.371 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.141, allocations: 89.02 kB / 1.371 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03102/1.172, allocations: 11.73 MB / 1.383 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.172, allocations: 3.938 kB / 1.383 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.173e-05/1.172, allocations: 8 kB / 1.383 GB, free: 3.832 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009237/1.173, allocations: 0.5927 MB / 1.384 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.173, allocations: 12.03 kB / 1.384 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/1.173, allocations: 36.31 kB / 1.384 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/1.173, allocations: 51.34 kB / 1.384 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006686/1.174, allocations: 372.4 kB / 1.384 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/1.174, allocations: 15.48 kB / 1.384 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/1.174, allocations: 4 kB / 1.384 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/1.174, allocations: 91.55 kB / 1.384 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/1.174, allocations: 0 / 1.384 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.174, allocations: 7.297 kB / 1.384 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/1.174, allocations: 0 / 1.384 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/1.174, allocations: 55.3 kB / 1.384 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008509/1.175, allocations: 0.5226 MB / 1.385 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/1.175, allocations: 90.53 kB / 1.385 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/1.175, allocations: 30.98 kB / 1.385 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/1.175, allocations: 3.953 kB / 1.385 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/1.176, allocations: 85.14 kB / 1.385 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/1.176, allocations: 0 / 1.385 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003255/1.176, allocations: 143.1 kB / 1.385 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/1.176, allocations: 59.41 kB / 1.385 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005602/1.177, allocations: 487.2 kB / 1.385 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/1.177, allocations: 29.14 kB / 1.386 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/1.177, allocations: 223.6 kB / 1.386 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/1.177, allocations: 27.28 kB / 1.386 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/1.177, allocations: 7.312 kB / 1.386 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.177, allocations: 359 kB / 1.386 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/1.177, allocations: 61.8 kB / 1.386 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/1.177, allocations: 89.06 kB / 1.386 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/1.177, allocations: 69.52 kB / 1.386 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.177, allocations: 0 / 1.386 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003727/1.178, allocations: 242.2 kB / 1.387 GB, free: 480 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.178, allocations: 5.406 kB / 1.387 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.178, allocations: 0 / 1.387 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.178, allocations: 4 kB / 1.387 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/1.178, allocations: 39.91 kB / 1.387 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.178, allocations: 4.062 kB / 1.387 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/1.178, allocations: 15.12 kB / 1.387 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/1.178, allocations: 15.42 kB / 1.387 GB, free: 404 kB / 0.8386 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.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.852e-05/1.178, allocations: 108 kB / 1.387 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/1.178, allocations: 47.39 kB / 1.387 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/1.179, allocations: 164.8 kB / 1.387 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.179, allocations: 4 kB / 1.387 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.179, allocations: 4 kB / 1.387 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.179, allocations: 0 / 1.387 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/1.179, allocations: 320.3 kB / 1.387 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/1.179, allocations: 0 / 1.387 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/1.179, allocations: 15.92 kB / 1.387 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/1.179, allocations: 0 / 1.387 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/1.179, allocations: 10.95 kB / 1.387 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.179, allocations: 4 kB / 1.387 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.179, allocations: 0 / 1.387 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/1.179, allocations: 214.8 kB / 1.387 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.179, allocations: 126.4 kB / 1.388 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/1.18, allocations: 6.438 kB / 1.388 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.18, allocations: 11.33 kB / 1.388 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/1.18, allocations: 15.97 kB / 1.388 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.18, allocations: 4 kB / 1.388 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003836/1.18, allocations: 365 kB / 1.388 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.31e-07/1.18, allocations: 4.062 kB / 1.388 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002941/1.18, allocations: 67.12 kB / 1.388 GB, free: 15.05 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001468/1.182, allocations: 1.052 MB / 1.389 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002124/1.182, allocations: 120 kB / 1.389 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.182, allocations: 0 / 1.389 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/1.182, allocations: 39.31 kB / 1.389 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/1.183, allocations: 63.61 kB / 1.389 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/1.184, allocations: 0.6031 MB / 1.39 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/1.184, allocations: 0.8313 MB / 1.391 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001208/1.184, allocations: 30.05 kB / 1.391 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/1.184, allocations: 123 kB / 1.391 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.6e-07/1.184, allocations: 4 kB / 1.391 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/1.205, allocations: 8.082 MB / 1.399 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.206, allocations: 204.2 kB / 1.399 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.456, allocations: 1.406 kB / 1.399 GB, free: 4.359 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat does not exist to compare? outputFormat=mat