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.00197/0.00197, allocations: 100.8 kB / 16.45 MB, free: 6.449 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.002203/0.002203, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.557/1.557, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.492/3.492, allocations: 0.4899 GB / 0.7915 GB, free: 33.48 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.003785/0.003785, allocations: 73.11 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4289, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004087/0.433, allocations: 2.293 MB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002769/0.4357, allocations: 1.614 MB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.4359, allocations: 7.938 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.4365, allocations: 183.1 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.437, allocations: 175.2 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.4374, allocations: 135.5 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.4378, allocations: 275 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.4379, allocations: 36.73 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.4381, allocations: 123.4 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.4383, allocations: 119.5 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.4383, allocations: 16 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.4385, allocations: 55.97 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.4386, allocations: 107.5 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.4388, allocations: 142.9 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.4393, allocations: 414 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4393, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4393, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.4393, allocations: 0 / 1.327 GB, free: 13.15 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.001442/0.4407, allocations: 0.7267 MB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.4408, allocations: 15.98 kB / 1.328 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.4409, allocations: 48.61 kB / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.4416, allocations: 420.5 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.4416, allocations: 4.375 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.4417, allocations: 15.92 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.4419, allocations: 93.66 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4419, allocations: 0 / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.4419, allocations: 4 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4419, allocations: 3.938 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.4421, allocations: 51.97 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009025/0.443, allocations: 0.4925 MB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.4434, allocations: 110.7 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.4435, allocations: 24.86 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.4435, allocations: 7.984 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.4437, allocations: 83.38 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.4438, allocations: 4 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004531/0.4442, allocations: 185.2 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.4443, allocations: 55.34 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006253/0.4449, allocations: 0.5029 MB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.4449, allocations: 33.64 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.4451, allocations: 228.1 kB / 1.33 GB, free: 9.859 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.4452, allocations: 35.73 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/0.4453, allocations: 45.7 kB / 1.33 GB, free: 9.773 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.4455, allocations: 362.8 kB / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.4456, allocations: 43.98 kB / 1.33 GB, free: 9.367 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.4458, allocations: 80.8 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.4461, allocations: 107.4 kB / 1.33 GB, free: 9.172 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4461, allocations: 0 / 1.33 GB, free: 9.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004029/0.4465, allocations: 217.2 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4465, allocations: 6.344 kB / 1.331 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4465, allocations: 0 / 1.331 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4465, allocations: 4 kB / 1.331 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.4467, allocations: 35.92 kB / 1.331 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.4467, allocations: 0 / 1.331 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.4468, allocations: 19.94 kB / 1.331 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.4469, allocations: 12 kB / 1.331 GB, free: 8.879 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.0002293/0.4471, allocations: 194.1 kB / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.4471, allocations: 47.67 kB / 1.331 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.772e-05/0.4472, allocations: 44.05 kB / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4472, allocations: 0 / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4472, allocations: 3.938 kB / 1.331 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4472, allocations: 3.984 kB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.4476, allocations: 321.4 kB / 1.331 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4476, allocations: 3.938 kB / 1.331 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.4476, allocations: 11.98 kB / 1.331 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4476, allocations: 0 / 1.331 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4477, allocations: 12 kB / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4477, allocations: 3.984 kB / 1.331 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4477, allocations: 0 / 1.331 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.4481, allocations: 224.6 kB / 1.332 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.682e-05/0.4482, allocations: 116.8 kB / 1.332 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.4482, allocations: 4 kB / 1.332 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.4483, allocations: 7.984 kB / 1.332 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.4484, allocations: 15.98 kB / 1.332 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4484, allocations: 8 kB / 1.332 GB, free: 7.773 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004549/0.4488, allocations: 354.8 kB / 1.332 GB, free: 7.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4488, allocations: 0 / 1.332 GB, free: 7.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003194/0.4492, allocations: 59.88 kB / 1.332 GB, free: 7.371 MB / 1.029 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.001925/0.4511, allocations: 412.2 kB / 1.332 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.4515, allocations: 113.2 kB / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4515, allocations: 0 / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.4516, allocations: 35.98 kB / 1.333 GB, free: 6.973 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.4521, allocations: 70.36 kB / 1.333 GB, free: 6.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.4537, allocations: 0.714 MB / 1.333 GB, free: 6.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/0.4546, allocations: 0.8299 MB / 1.334 GB, free: 5.316 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.4547, allocations: 29.94 kB / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.4548, allocations: 31.61 kB / 1.334 GB, free: 5.258 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4548, allocations: 0 / 1.334 GB, free: 5.258 MB / 1.029 GB Notification: Performance of Templates: time 0.009345/0.4641, allocations: 3.149 MB / 1.337 GB, free: 2.137 MB / 1.029 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=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/jenkins/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: 9.733600364997983]