Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.AssertFuelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",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.001254/0.001254, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001162/0.001162, allocations: 189.7 kB / 16.13 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.077/2.077, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 68.12 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5088, allocations: 140.4 MB / 0.949 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003099/0.5119, allocations: 2.304 MB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.5136, allocations: 1.418 MB / 0.9527 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.5137, allocations: 1.562 kB / 0.9527 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.5142, allocations: 187.9 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.5145, allocations: 116.1 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.5147, allocations: 148.1 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.515, allocations: 249.5 kB / 0.9534 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.5151, allocations: 57 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.5152, allocations: 100.8 kB / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.5153, allocations: 111.8 kB / 0.9536 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.5154, allocations: 5.562 kB / 0.9536 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.5155, allocations: 52.94 kB / 0.9537 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.5156, allocations: 89.3 kB / 0.9537 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.5157, allocations: 141.5 kB / 0.9539 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.5159, allocations: 376 kB / 0.9542 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.516, allocations: 0 / 0.9542 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.71e-07/0.516, allocations: 0 / 0.9542 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.516, allocations: 1.562 kB / 0.9542 GB, free: 5.309 MB / 0.7169 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.0007699/0.5168, allocations: 0.7038 MB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5168, allocations: 9.469 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.5168, allocations: 44.61 kB / 0.955 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.5169, allocations: 47.19 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.5173, allocations: 411.9 kB / 0.9554 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5173, allocations: 7.469 kB / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.5173, allocations: 9.656 kB / 0.9554 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.5175, allocations: 95.36 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.5175, allocations: 4 kB / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.5175, allocations: 5.062 kB / 0.9555 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.5175, allocations: 2.156 kB / 0.9555 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.5177, allocations: 50.53 kB / 0.9556 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.5182, allocations: 0.4897 MB / 0.9561 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.5186, allocations: 103 kB / 0.9562 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.5186, allocations: 36.69 kB / 0.9562 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.5187, allocations: 1 kB / 0.9562 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.5188, allocations: 97.22 kB / 0.9563 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.5188, allocations: 0 / 0.9563 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003161/0.5191, allocations: 179.3 kB / 0.9565 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.5192, allocations: 52.84 kB / 0.9565 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.5196, allocations: 0.4892 MB / 0.957 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.5196, allocations: 32.45 kB / 0.957 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.5197, allocations: 228.8 kB / 0.9572 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.5197, allocations: 27.73 kB / 0.9573 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.5198, allocations: 52.95 kB / 0.9573 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.5199, allocations: 360.5 kB / 0.9577 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.52, allocations: 44.52 kB / 0.9577 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.5201, allocations: 79.83 kB / 0.9578 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.5203, allocations: 105 kB / 0.9579 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5203, allocations: 7.969 kB / 0.9579 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003028/0.5206, allocations: 203.7 kB / 0.9581 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5206, allocations: 5.594 kB / 0.9581 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5206, allocations: 1.062 kB / 0.9581 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.5206, allocations: 1.125 kB / 0.9581 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.5208, allocations: 32.67 kB / 0.9581 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5208, allocations: 5.719 kB / 0.9581 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.5209, allocations: 26.64 kB / 0.9582 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.521, allocations: 10.56 kB / 0.9582 GB, free: 2.113 MB / 0.7169 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.000133/0.5211, allocations: 189.4 kB / 0.9583 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.5212, allocations: 52.2 kB / 0.9584 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.5212, allocations: 42.7 kB / 0.9584 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5212, allocations: 1.875 kB / 0.9584 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5212, allocations: 0 / 0.9584 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5212, allocations: 3.984 kB / 0.9584 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.5214, allocations: 316.9 kB / 0.9587 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5215, allocations: 0 / 0.9587 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.5215, allocations: 23.3 kB / 0.9588 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5215, allocations: 0.9062 kB / 0.9588 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.5215, allocations: 1.062 kB / 0.9588 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5216, allocations: 1.094 kB / 0.9588 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5216, allocations: 0 / 0.9588 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.5219, allocations: 220.1 kB / 0.959 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.5219, allocations: 115.3 kB / 0.9591 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.522, allocations: 2.25 kB / 0.9591 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.5221, allocations: 15.42 kB / 0.9591 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.5221, allocations: 9.203 kB / 0.9591 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.5221, allocations: 3.344 kB / 0.9591 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002887/0.5224, allocations: 356.3 kB / 0.9595 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5224, allocations: 1.125 kB / 0.9595 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002542/0.5227, allocations: 49.17 kB / 0.9595 GB, free: 1.078 MB / 0.7169 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001206/0.5239, allocations: 1.08 MB / 0.9606 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.5242, allocations: 109 kB / 0.9607 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5242, allocations: 4.938 kB / 0.9607 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.5243, allocations: 38.33 kB / 0.9607 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.5247, allocations: 74.2 kB / 0.9608 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.5282, allocations: 3.26 MB / 0.964 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.5286, allocations: 0.8248 MB / 0.9648 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.5287, allocations: 38.42 kB / 0.9648 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.5289, allocations: 122.4 kB / 0.9649 GB, free: 13 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5289, allocations: 0 / 0.9649 GB, free: 13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5026/1.032, allocations: 7.289 MB / 0.972 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/1.032, allocations: 258.7 kB / 0.9723 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.905, allocations: 0 / 0.9723 GB, free: 9.098 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches