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.0008007/0.0008007, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007541/0.0007541, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.88/0.88, allocations: 177.1 MB / 202.8 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.69/1.69, allocations: 377.9 MB / 0.6221 GB, free: 8.641 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 4 kB / 0.981 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/2.031e-05, allocations: 2.281 kB / 0.981 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00286/0.00288, allocations: 2.228 MB / 0.9832 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.004586, allocations: 1.493 MB / 0.9846 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.004726, allocations: 7.938 kB / 0.9846 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.005231, allocations: 182.9 kB / 0.9848 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.005645, allocations: 175 kB / 0.985 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.005926, allocations: 135.5 kB / 0.9851 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.006246, allocations: 294.9 kB / 0.9854 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.00638, allocations: 32.92 kB / 0.9854 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.006551, allocations: 151.5 kB / 0.9855 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.006684, allocations: 91.72 kB / 0.9856 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.006709, allocations: 12 kB / 0.9856 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.006827, allocations: 63.89 kB / 0.9857 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.1e-05/0.006918, allocations: 103.6 kB / 0.9858 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.006987, allocations: 71.67 kB / 0.9859 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.007359, allocations: 390.5 kB / 0.9862 GB, free: 12 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.007362, allocations: 8 kB / 0.9863 GB, free: 12 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007363, allocations: 0 / 0.9863 GB, free: 12 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.007369, allocations: 4 kB / 0.9863 GB, free: 11.99 MB / 0.9011 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.0007999/0.008169, allocations: 0.6435 MB / 0.9869 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.008206, allocations: 8.031 kB / 0.9869 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.479e-05/0.008241, allocations: 42.73 kB / 0.9869 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.008302, allocations: 52.61 kB / 0.987 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.008683, allocations: 352.6 kB / 0.9873 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.008698, allocations: 12.38 kB / 0.9873 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.00872, allocations: 8.375 kB / 0.9873 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.008897, allocations: 123.4 kB / 0.9875 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.008906, allocations: 4 kB / 0.9875 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.008917, allocations: 7.938 kB / 0.9875 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.008924, allocations: 7.984 kB / 0.9875 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.009025, allocations: 59.89 kB / 0.9875 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.009575, allocations: 435.7 kB / 0.988 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.009742, allocations: 98.64 kB / 0.988 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.009787, allocations: 28.84 kB / 0.9881 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.009806, allocations: 0 / 0.9881 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.00995, allocations: 117.1 kB / 0.9882 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 4.869e-06/0.009955, allocations: 0 / 0.9882 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0002765/0.01023, allocations: 173.3 kB / 0.9884 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.01026, allocations: 67.27 kB / 0.9884 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.01064, allocations: 0.5068 MB / 0.9889 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01066, allocations: 25.7 kB / 0.9889 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01078, allocations: 235.9 kB / 0.9892 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.01081, allocations: 27.92 kB / 0.9892 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.01087, allocations: 53.64 kB / 0.9892 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01097, allocations: 358.8 kB / 0.9896 GB, free: 8.383 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.01104, allocations: 47.97 kB / 0.9896 GB, free: 8.336 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.01128, allocations: 100.2 kB / 0.9897 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.0114, allocations: 100.5 kB / 0.9898 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.0114, allocations: 0 / 0.9898 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000216/0.01162, allocations: 213.2 kB / 0.99 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.01163, allocations: 14.33 kB / 0.99 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01164, allocations: 0 / 0.99 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.01165, allocations: 0 / 0.99 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.01177, allocations: 39.92 kB / 0.9901 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01178, allocations: 4 kB / 0.9901 GB, free: 7.852 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.01184, allocations: 11.92 kB / 0.9901 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.01186, allocations: 12.38 kB / 0.9901 GB, free: 7.828 MB / 0.9011 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.0001376/0.012, allocations: 184 kB / 0.9903 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.01203, allocations: 55.64 kB / 0.9903 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.01224, allocations: 161.6 kB / 0.9905 GB, free: 7.422 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01225, allocations: 4 kB / 0.9905 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01225, allocations: 0 / 0.9905 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01226, allocations: 3.984 kB / 0.9905 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.01245, allocations: 276.6 kB / 0.9908 GB, free: 7.102 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01245, allocations: 0 / 0.9908 GB, free: 7.102 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.01249, allocations: 11.94 kB / 0.9908 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.0125, allocations: 3.938 kB / 0.9908 GB, free: 7.086 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.01251, allocations: 4 kB / 0.9908 GB, free: 7.082 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01251, allocations: 11.98 kB / 0.9908 GB, free: 7.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01251, allocations: 0 / 0.9908 GB, free: 7.07 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.01275, allocations: 224.7 kB / 0.991 GB, free: 6.832 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.01279, allocations: 47.62 kB / 0.991 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.01282, allocations: 4 kB / 0.991 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.01286, allocations: 4 kB / 0.9911 GB, free: 6.777 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.01291, allocations: 15.97 kB / 0.9911 GB, free: 6.762 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.01291, allocations: 7.938 kB / 0.9911 GB, free: 6.754 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002495/0.01316, allocations: 362.8 kB / 0.9914 GB, free: 6.402 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.01316, allocations: 0 / 0.9914 GB, free: 6.402 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002023/0.01337, allocations: 52 kB / 0.9915 GB, free: 6.352 MB / 0.9011 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.001069/0.01444, allocations: 1.094 MB / 0.9925 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.01464, allocations: 107.8 kB / 0.9926 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01464, allocations: 0 / 0.9926 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.684e-05/0.01469, allocations: 39.97 kB / 0.9927 GB, free: 5.266 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.01497, allocations: 80.55 kB / 0.9928 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.01754, allocations: 3.146 MB / 0.9958 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.01768, allocations: 224.8 kB / 0.996 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.01779, allocations: 33.94 kB / 0.9961 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.01792, allocations: 132.4 kB / 0.9962 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of SimCode: time 1.132e-06/0.01792, allocations: 0 / 0.9962 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.04424, allocations: 8.697 MB / 1.005 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.853, allocations: 4.562 kB / 1.005 GB, free: 8.992 MB / 0.9167 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] 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: 10.721401633694768]