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.0008428/0.0008428, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007857/0.0007857, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 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.8938/0.8938, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.72/1.72, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.084e-06/2.084e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.6e-05, allocations: 9.375 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003782/0.003808, allocations: 2.214 MB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.005999, allocations: 1.501 MB / 0.9858 GB, free: 14.33 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.006135, allocations: 7.938 kB / 0.9859 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005577/0.006692, allocations: 175 kB / 0.986 GB, free: 14.15 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.007117, allocations: 187 kB / 0.9862 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.007386, allocations: 131.5 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.007714, allocations: 286.9 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.007856, allocations: 40.88 kB / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.008048, allocations: 147.6 kB / 0.9868 GB, free: 13.37 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.008216, allocations: 95.7 kB / 0.9869 GB, free: 13.28 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.008248, allocations: 16 kB / 0.9869 GB, free: 13.26 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.008369, allocations: 59.91 kB / 0.9869 GB, free: 13.2 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.008479, allocations: 103.6 kB / 0.987 GB, free: 13.1 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.008568, allocations: 79.7 kB / 0.9871 GB, free: 13.02 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.009009, allocations: 398.4 kB / 0.9875 GB, free: 12.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.009012, allocations: 0 / 0.9875 GB, free: 12.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009013, allocations: 0 / 0.9875 GB, free: 12.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.009021, allocations: 0 / 0.9875 GB, free: 12.63 MB / 0.948 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.000981/0.01, allocations: 0.6475 MB / 0.9881 GB, free: 11.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.01004, allocations: 12.03 kB / 0.9881 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.759e-05/0.01013, allocations: 52.61 kB / 0.9882 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.01061, allocations: 352.5 kB / 0.9885 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.01063, allocations: 8.375 kB / 0.9885 GB, free: 11.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.01065, allocations: 16.3 kB / 0.9885 GB, free: 11.49 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.01087, allocations: 119.7 kB / 0.9887 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.01088, allocations: 0 / 0.9887 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.01089, allocations: 3.984 kB / 0.9887 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.0109, allocations: 4 kB / 0.9887 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.01103, allocations: 55.91 kB / 0.9887 GB, free: 11.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.01166, allocations: 412.2 kB / 0.9891 GB, free: 10.87 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.01186, allocations: 94.52 kB / 0.9892 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.01193, allocations: 32.98 kB / 0.9892 GB, free: 10.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.01195, allocations: 4 kB / 0.9892 GB, free: 10.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.01212, allocations: 109.1 kB / 0.9893 GB, free: 10.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.01212, allocations: 0 / 0.9893 GB, free: 10.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0003541/0.01248, allocations: 181.3 kB / 0.9895 GB, free: 10.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.01251, allocations: 59.34 kB / 0.9896 GB, free: 10.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.01303, allocations: 0.5029 MB / 0.9901 GB, free: 9.832 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.01305, allocations: 29.7 kB / 0.9901 GB, free: 9.797 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.01322, allocations: 240 kB / 0.9903 GB, free: 9.559 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.01325, allocations: 23.84 kB / 0.9903 GB, free: 9.535 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.01333, allocations: 53.59 kB / 0.9904 GB, free: 9.477 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.01345, allocations: 359.2 kB / 0.9907 GB, free: 9.117 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/0.01355, allocations: 47.98 kB / 0.9908 GB, free: 9.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.01367, allocations: 104.2 kB / 0.9909 GB, free: 8.953 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.01383, allocations: 100.1 kB / 0.991 GB, free: 8.852 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01383, allocations: 3.938 kB / 0.991 GB, free: 8.848 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002985/0.01413, allocations: 213.2 kB / 0.9912 GB, free: 8.633 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.01414, allocations: 4 kB / 0.9912 GB, free: 8.629 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01415, allocations: 3.938 kB / 0.9912 GB, free: 8.625 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.01416, allocations: 4 kB / 0.9912 GB, free: 8.621 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.01432, allocations: 35.91 kB / 0.9912 GB, free: 8.586 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.01433, allocations: 4 kB / 0.9912 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.41e-05/0.01442, allocations: 19.97 kB / 0.9913 GB, free: 8.562 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.01445, allocations: 7.984 kB / 0.9913 GB, free: 8.555 MB / 0.948 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.0001717/0.01462, allocations: 187.8 kB / 0.9914 GB, free: 8.363 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.01466, allocations: 47.67 kB / 0.9915 GB, free: 8.316 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.01492, allocations: 161.6 kB / 0.9916 GB, free: 8.152 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01493, allocations: 11.92 kB / 0.9917 GB, free: 8.141 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01493, allocations: 0 / 0.9917 GB, free: 8.141 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01493, allocations: 0 / 0.9917 GB, free: 8.141 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.01515, allocations: 249.2 kB / 0.9919 GB, free: 7.867 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01515, allocations: 4 kB / 0.9919 GB, free: 7.863 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.01521, allocations: 15.94 kB / 0.9919 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01521, allocations: 0 / 0.9919 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01523, allocations: 3.984 kB / 0.9919 GB, free: 7.844 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01523, allocations: 3.938 kB / 0.9919 GB, free: 7.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01523, allocations: 3.984 kB / 0.9919 GB, free: 7.836 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.01555, allocations: 228.7 kB / 0.9921 GB, free: 7.594 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.0156, allocations: 43.64 kB / 0.9922 GB, free: 7.551 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.01563, allocations: 12 kB / 0.9922 GB, free: 7.539 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.0157, allocations: 11.92 kB / 0.9922 GB, free: 7.527 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.01575, allocations: 12.05 kB / 0.9922 GB, free: 7.516 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.01576, allocations: 8 kB / 0.9922 GB, free: 7.508 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003475/0.01611, allocations: 359 kB / 0.9926 GB, free: 7.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01611, allocations: 0 / 0.9926 GB, free: 7.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002888/0.0164, allocations: 55.88 kB / 0.9926 GB, free: 7.105 MB / 0.948 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.0009387/0.01734, allocations: 432 kB / 0.993 GB, free: 6.863 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.01759, allocations: 107.8 kB / 0.9931 GB, free: 6.758 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01759, allocations: 64 / 0.9931 GB, free: 6.758 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.071e-05/0.01767, allocations: 47.92 kB / 0.9932 GB, free: 6.711 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01799, allocations: 65.69 kB / 0.9932 GB, free: 6.652 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000788/0.01878, allocations: 0.7292 MB / 0.994 GB, free: 5.891 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.01892, allocations: 220.8 kB / 0.9942 GB, free: 5.652 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.01897, allocations: 32.5 kB / 0.9942 GB, free: 5.621 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/0.01898, allocations: 0 / 0.9942 GB, free: 5.621 MB / 0.948 GB Notification: Performance of Templates: time 0.004975/0.02395, allocations: 4.866 MB / 0.9989 GB, free: 0.7852 MB / 0.948 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: 7.035247789695859]