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.0007735/0.0007735, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001796, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007089/0.0007089, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008549/0.001564, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9775/0.9775, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09985/1.077, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.806/1.806, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5384/2.345, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.385e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.006663/0.006687, allocations: 2.357 MB / 0.7316 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.009177, allocations: 1.573 MB / 0.7332 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.009331, allocations: 8.625 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.009869, allocations: 192.1 kB / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.01039, allocations: 180.4 kB / 0.7335 GB, free: 248 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.01074, allocations: 139.5 kB / 0.7337 GB, free: 108 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.0111, allocations: 275.6 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.01123, allocations: 38.83 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007322/0.01196, allocations: 280.7 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.01209, allocations: 71.73 kB / 0.7343 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.01212, allocations: 13.12 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.01527, allocations: 55.97 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.01538, allocations: 83.64 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.031e-05/0.01546, allocations: 64.66 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.01586, allocations: 254.8 kB / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.01587, allocations: 0 / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01587, allocations: 0.5625 kB / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.01589, allocations: 0.5312 kB / 0.7348 GB, free: 15.01 MB / 0.7136 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.0007968/0.01669, allocations: 0.675 MB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.01672, allocations: 15.97 kB / 0.7354 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.01679, allocations: 32.91 kB / 0.7355 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.01715, allocations: 309.9 kB / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.01717, allocations: 9.531 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.01719, allocations: 16.36 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.01733, allocations: 109.4 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.01734, allocations: 3.938 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.01735, allocations: 4 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.01736, allocations: 0 / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.983e-05/0.01742, allocations: 26.45 kB / 0.7359 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.01786, allocations: 258.5 kB / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.01798, allocations: 93.98 kB / 0.7363 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.01801, allocations: 29.58 kB / 0.7363 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.01803, allocations: 6.125 kB / 0.7363 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003134/0.02117, allocations: 99.8 kB / 0.7364 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.02117, allocations: 0 / 0.7364 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001779/0.02135, allocations: 93.58 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.02138, allocations: 55.41 kB / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.02173, allocations: 415.2 kB / 0.7369 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.02175, allocations: 31.17 kB / 0.737 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.02183, allocations: 153.3 kB / 0.7371 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.02186, allocations: 31.73 kB / 0.7371 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/0.02193, allocations: 54.86 kB / 0.7372 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.02203, allocations: 366.6 kB / 0.7375 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.02207, allocations: 22.81 kB / 0.7376 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.02213, allocations: 69.94 kB / 0.7376 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.131e-05/0.02221, allocations: 62.42 kB / 0.7377 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02221, allocations: 4 kB / 0.7377 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001571/0.02237, allocations: 123.6 kB / 0.7378 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.02238, allocations: 4 kB / 0.7378 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.02239, allocations: 4 kB / 0.7378 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.0224, allocations: 3.984 kB / 0.7378 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.02255, allocations: 35.92 kB / 0.7379 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.02256, allocations: 7.938 kB / 0.7379 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.02263, allocations: 15.94 kB / 0.7379 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.02265, allocations: 6.844 kB / 0.7379 GB, free: 11.63 MB / 0.7136 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 9.076e-05/0.02274, allocations: 120.7 kB / 0.738 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.02277, allocations: 23.97 kB / 0.738 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.02292, allocations: 105.7 kB / 0.7381 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.02292, allocations: 0 / 0.7381 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.02292, allocations: 3.938 kB / 0.7381 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.02293, allocations: 8.641 kB / 0.7381 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.0231, allocations: 157.7 kB / 0.7383 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0231, allocations: 0.6875 kB / 0.7383 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.02316, allocations: 15.98 kB / 0.7383 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.0232, allocations: 42.55 kB / 0.7383 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.0232, allocations: 0 / 0.7383 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.02321, allocations: 7.938 kB / 0.7384 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02321, allocations: 0 / 0.7384 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02321, allocations: 3.938 kB / 0.7384 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.02337, allocations: 130.7 kB / 0.7385 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.0234, allocations: 7.938 kB / 0.7385 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.02345, allocations: 11.11 kB / 0.7385 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.02359, allocations: 11.98 kB / 0.7385 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.0236, allocations: 7.984 kB / 0.7385 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001605/0.02376, allocations: 180.4 kB / 0.7387 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02376, allocations: 0 / 0.7387 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000211/0.02397, allocations: 55.86 kB / 0.7387 GB, free: 10.71 MB / 0.7136 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.004054/0.02802, allocations: 0.5564 MB / 0.7393 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.02825, allocations: 65.33 kB / 0.7393 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/0.02826, allocations: 4 kB / 0.7394 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.098e-05/0.02832, allocations: 34.17 kB / 0.7394 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.02869, allocations: 96.97 kB / 0.7395 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.03078, allocations: 0.6269 MB / 0.7401 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.077e-05/0.03085, allocations: 128.2 kB / 0.7402 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.03095, allocations: 29.94 kB / 0.7402 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.03107, allocations: 95.34 kB / 0.7403 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of SimCode: time 9.01e-07/0.03107, allocations: 3.75 kB / 0.7403 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of Templates: time 0.006475/0.03754, allocations: 3.459 MB / 0.7437 GB, free: 6.043 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.859332638792694]