Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0014/0.0014, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001622/0.001622, allocations: 212.3 kB / 23 MB, free: 4.934 MB / 14.72 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 1.645/1.645, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.485/3.485, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 68.91 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5263, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004737/0.5311, allocations: 2.227 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002935/0.534, allocations: 1.502 MB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.5342, allocations: 3.938 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007368/0.5349, allocations: 171.1 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005576/0.5355, allocations: 183.2 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.5358, allocations: 135.6 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.5362, allocations: 286.9 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.5364, allocations: 32.92 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.5366, allocations: 111.5 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.5368, allocations: 123.4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.5368, allocations: 16 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.537, allocations: 51.98 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.5371, allocations: 107.5 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.5373, allocations: 111.1 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.5378, allocations: 414 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.5379, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.225e-06/0.5379, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.5379, allocations: 3.938 kB / 1.332 GB, free: 11.51 MB / 1.029 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.001216/0.5391, allocations: 0.6453 MB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5391, allocations: 8.031 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.5392, allocations: 48.61 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006859/0.5399, allocations: 365.3 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.5399, allocations: 12.38 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.54, allocations: 7.938 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.5403, allocations: 119.3 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5403, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.5403, allocations: 4 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.5403, allocations: 4 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.5405, allocations: 51.97 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.5415, allocations: 420.1 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.5417, allocations: 102.6 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.5418, allocations: 32.84 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.5419, allocations: 3.984 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.5421, allocations: 109.1 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.5421, allocations: 0 / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0005191/0.5426, allocations: 173.3 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.5427, allocations: 59.34 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.5434, allocations: 0.5067 MB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.5434, allocations: 33.7 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.5436, allocations: 228.1 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.5437, allocations: 39.72 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.5438, allocations: 46.08 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.544, allocations: 362.7 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.5441, allocations: 47.97 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.5442, allocations: 105.6 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.5445, allocations: 107.1 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5445, allocations: 0 / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003601/0.5448, allocations: 217.2 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5448, allocations: 4 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5448, allocations: 0 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.5449, allocations: 0 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.5451, allocations: 39.91 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.5451, allocations: 4 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.5452, allocations: 15.94 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.5452, allocations: 8 kB / 1.336 GB, free: 7.43 MB / 1.029 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.0002546/0.5455, allocations: 192.4 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.5456, allocations: 55.61 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.5459, allocations: 157.6 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.5459, allocations: 0 / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5459, allocations: 4 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.546, allocations: 39.64 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.5461, allocations: 8 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.5462, allocations: 4 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.5462, allocations: 15.97 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003884/0.5466, allocations: 200.8 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005187/0.5471, allocations: 382.3 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001087/0.5472, allocations: 40.23 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004357/0.5477, allocations: 366.8 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of Backend: time 4e-07/0.5477, allocations: 0 / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.5501, allocations: 485.8 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of SimCode: time 0.001742/0.5518, allocations: 1.206 MB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of Templates: time 0.009814/0.5617, allocations: 3.725 MB / 1.343 GB, free: 0.75 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.405073837995587]