Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001336/0.001336, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009699/0.0009699, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9022/0.9022, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.749/1.749, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.169e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003562/0.003584, allocations: 2.282 MB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.005905, allocations: 1.536 MB / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.006035, allocations: 5.531 kB / 0.7913 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.006602, allocations: 179.1 kB / 0.7915 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.007026, allocations: 191.8 kB / 0.7917 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.007283, allocations: 140.5 kB / 0.7918 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.00762, allocations: 282.9 kB / 0.7921 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.007754, allocations: 32.92 kB / 0.7921 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006874/0.008441, allocations: 256.9 kB / 0.7923 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.008564, allocations: 67.69 kB / 0.7924 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.008598, allocations: 12.53 kB / 0.7924 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.008727, allocations: 59.89 kB / 0.7925 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.00883, allocations: 92.27 kB / 0.7926 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.953e-05/0.008909, allocations: 68.19 kB / 0.7926 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.009287, allocations: 266.8 kB / 0.7929 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.00929, allocations: 0.7812 kB / 0.7929 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.009291, allocations: 0 / 0.7929 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.009296, allocations: 0.9062 kB / 0.7929 GB, free: 6.805 MB / 0.7448 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.0008668/0.01016, allocations: 0.7596 MB / 0.7936 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.01021, allocations: 13.41 kB / 0.7936 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.01029, allocations: 60.55 kB / 0.7937 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.01067, allocations: 335.3 kB / 0.794 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.01069, allocations: 5.656 kB / 0.794 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.01071, allocations: 12.38 kB / 0.794 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.01089, allocations: 104.6 kB / 0.7941 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.0109, allocations: 8.547 kB / 0.7941 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.01091, allocations: 4 kB / 0.7941 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.01092, allocations: 4.75 kB / 0.7941 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.01098, allocations: 23.92 kB / 0.7942 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.01152, allocations: 408.8 kB / 0.7946 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.01165, allocations: 80 kB / 0.7946 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.01169, allocations: 20.94 kB / 0.7947 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.01171, allocations: 4 kB / 0.7947 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.01184, allocations: 111.4 kB / 0.7948 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.01184, allocations: 0 / 0.7948 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000236/0.01208, allocations: 135.5 kB / 0.7949 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.0121, allocations: 51.41 kB / 0.7949 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.01256, allocations: 0.5336 MB / 0.7955 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.01258, allocations: 25.7 kB / 0.7955 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.01278, allocations: 302.7 kB / 0.7958 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.01281, allocations: 27.88 kB / 0.7958 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.0129, allocations: 58.42 kB / 0.7959 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.0131, allocations: 0.5585 MB / 0.7964 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.01314, allocations: 19.98 kB / 0.7964 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.01322, allocations: 86.59 kB / 0.7965 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.199e-05/0.01331, allocations: 65.17 kB / 0.7966 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01331, allocations: 0 / 0.7966 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002186/0.01353, allocations: 163.2 kB / 0.7967 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01355, allocations: 8 kB / 0.7967 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01355, allocations: 3.984 kB / 0.7967 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.01357, allocations: 0.625 kB / 0.7967 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01371, allocations: 39.86 kB / 0.7968 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01372, allocations: 4.562 kB / 0.7968 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.0138, allocations: 16.81 kB / 0.7968 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.01382, allocations: 12 kB / 0.7968 GB, free: 2.555 MB / 0.7448 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.0001096/0.01393, allocations: 165.5 kB / 0.797 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.01398, allocations: 47.72 kB / 0.797 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.01417, allocations: 122.8 kB / 0.7971 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01417, allocations: 3.938 kB / 0.7971 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01418, allocations: 3.938 kB / 0.7971 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01418, allocations: 0.6562 kB / 0.7971 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.0144, allocations: 221 kB / 0.7973 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0144, allocations: 1.5 kB / 0.7974 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.01445, allocations: 8 kB / 0.7974 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01445, allocations: 0 / 0.7974 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01447, allocations: 11.98 kB / 0.7974 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01447, allocations: 3.656 kB / 0.7974 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01447, allocations: 0 / 0.7974 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.01471, allocations: 187.9 kB / 0.7976 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.01475, allocations: 39.72 kB / 0.7976 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.01479, allocations: 4 kB / 0.7976 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.01485, allocations: 0 / 0.7976 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.01489, allocations: 19.97 kB / 0.7976 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.0149, allocations: 0 / 0.7976 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002571/0.01516, allocations: 326.6 kB / 0.7979 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01516, allocations: 0.875 kB / 0.7979 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002791/0.01544, allocations: 51.89 kB / 0.798 GB, free: 1.297 MB / 0.7448 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.001074/0.01651, allocations: 400.5 kB / 0.7984 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.01668, allocations: 76.09 kB / 0.7984 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01668, allocations: 4.062 kB / 0.7984 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.962e-05/0.01674, allocations: 27.67 kB / 0.7985 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.01708, allocations: 71.19 kB / 0.7985 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.0181, allocations: 0.6209 MB / 0.7991 GB, free: 220 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.306e-05/0.01819, allocations: 120.3 kB / 0.7992 GB, free: 80 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.116e-05/0.01828, allocations: 33.92 kB / 0.7993 GB, free: 48 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.01845, allocations: 114.2 kB / 0.7994 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of SimCode: time 9.31e-07/0.01845, allocations: 0 / 0.7994 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of Templates: time 0.006914/0.02537, allocations: 3.419 MB / 0.8027 GB, free: 12.58 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.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.917684513144195]