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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008535/0.0008535, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8848/0.8848, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.738/1.738, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.76e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002885/0.002902, allocations: 2.217 MB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.004611, allocations: 1.502 MB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.004742, allocations: 3.938 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.005249, allocations: 183.5 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.005642, allocations: 187 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.00592, allocations: 135.5 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.006193, allocations: 286.9 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.006326, allocations: 36.86 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.006475, allocations: 151.6 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.006597, allocations: 91.7 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.006628, allocations: 19.98 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.006729, allocations: 51.98 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.781e-05/0.006817, allocations: 107.6 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.582e-05/0.006883, allocations: 71.66 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.007263, allocations: 398.5 kB / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.007265, allocations: 0 / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.71e-07/0.007266, allocations: 0 / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.007271, allocations: 0 / 1.005 GB, free: 8.055 MB / 0.9636 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.0007271/0.007999, allocations: 0.6474 MB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.008034, allocations: 12.75 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.008064, allocations: 38.75 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.00812, allocations: 52.61 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.008469, allocations: 356.6 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.008483, allocations: 4.375 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.008502, allocations: 8.375 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.008661, allocations: 123.5 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.008668, allocations: 0 / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.008678, allocations: 4 kB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.008682, allocations: 0 / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.008777, allocations: 59.97 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.009295, allocations: 443.5 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.00946, allocations: 98.44 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.009505, allocations: 28.98 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.009524, allocations: 4 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.009667, allocations: 113.1 kB / 1.007 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.009668, allocations: 0 / 1.007 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002799/0.009948, allocations: 189.2 kB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.009982, allocations: 55.34 kB / 1.007 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.01035, allocations: 0.5067 MB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.01037, allocations: 33.7 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.01078, allocations: 224.1 kB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.01081, allocations: 27.8 kB / 1.008 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.01087, allocations: 53.64 kB / 1.008 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.01098, allocations: 358.8 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.01105, allocations: 47.98 kB / 1.008 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/0.01113, allocations: 98.5 kB / 1.008 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.01125, allocations: 108 kB / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01125, allocations: 0 / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002007/0.01145, allocations: 219.4 kB / 1.009 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.01146, allocations: 4 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01147, allocations: 7.969 kB / 1.009 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.01148, allocations: 4 kB / 1.009 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.0116, allocations: 35.92 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.0116, allocations: 3.984 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.01166, allocations: 23.92 kB / 1.009 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.01168, allocations: 4 kB / 1.009 GB, free: 3.887 MB / 0.9636 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.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.0118, allocations: 186.6 kB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.01183, allocations: 47.66 kB / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.01203, allocations: 165.7 kB / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01203, allocations: 0 / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01203, allocations: 0 / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01204, allocations: 0 / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.01223, allocations: 276.6 kB / 1.009 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01223, allocations: 4 kB / 1.009 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.01227, allocations: 19.92 kB / 1.009 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01227, allocations: 4.406 kB / 1.009 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01228, allocations: 4 kB / 1.009 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01229, allocations: 3.938 kB / 1.009 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.01229, allocations: 0 / 1.009 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.01251, allocations: 224.6 kB / 1.01 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.01255, allocations: 43.62 kB / 1.01 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.01257, allocations: 8 kB / 1.01 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.01261, allocations: 7.984 kB / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.01265, allocations: 16.05 kB / 1.01 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.01266, allocations: 11.98 kB / 1.01 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002457/0.01291, allocations: 358.8 kB / 1.01 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.01291, allocations: 0 / 1.01 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000192/0.0131, allocations: 51.89 kB / 1.01 GB, free: 2.402 MB / 0.9636 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) * Number of clocked states: 0 () * 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 (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.001051/0.01415, allocations: 1.093 MB / 1.011 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.01433, allocations: 107.8 kB / 1.011 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01433, allocations: 8 kB / 1.011 GB, free: 1.355 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.581e-05/0.01438, allocations: 43.92 kB / 1.011 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.01463, allocations: 64.69 kB / 1.011 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.01712, allocations: 3.133 MB / 1.015 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.01727, allocations: 228.7 kB / 1.015 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.866e-05/0.01736, allocations: 33.94 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.01778, allocations: 140.4 kB / 1.015 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of SimCode: time 4.11e-07/0.01778, allocations: 0 / 1.015 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.04273, allocations: 8.687 MB / 1.023 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.091, allocations: 11.45 kB / 1.023 GB, free: 5.027 MB / 0.9792 GB " [Timeout remaining time 293] (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/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 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.155884224921465]