Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001285/0.001285, allocations: 105.2 kB / 19.73 MB, free: 2.113 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.001418/0.001418, allocations: 215.8 kB / 23.03 MB, free: 4.91 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.068/3.068, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [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.001876/0.001876, allocations: 65.66 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3185, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1828/0.5013, allocations: 147.7 MB / 1.471 GB, free: 13.21 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008304/0.5096, allocations: 5.995 MB / 1.477 GB, free: 7.195 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.5101, allocations: 27.75 kB / 1.477 GB, free: 7.168 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.5108, allocations: 178.7 kB / 1.477 GB, free: 6.992 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.5131, allocations: 0.8324 MB / 1.478 GB, free: 6.156 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.5141, allocations: 346.4 kB / 1.478 GB, free: 5.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.5151, allocations: 0.7213 MB / 1.479 GB, free: 5.098 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004654/0.5155, allocations: 219.2 kB / 1.479 GB, free: 4.879 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.5172, allocations: 0.7279 MB / 1.48 GB, free: 4.148 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.5178, allocations: 274.9 kB / 1.48 GB, free: 3.879 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.5178, allocations: 28 kB / 1.48 GB, free: 3.852 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006047/0.5184, allocations: 295.3 kB / 1.48 GB, free: 3.562 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.5186, allocations: 107.6 kB / 1.48 GB, free: 3.457 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.5188, allocations: 135.3 kB / 1.48 GB, free: 3.324 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007471/0.5195, allocations: 466.2 kB / 1.481 GB, free: 2.867 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5195, allocations: 0 / 1.481 GB, free: 2.867 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5195, allocations: 0 / 1.481 GB, free: 2.867 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.5196, allocations: 0 / 1.481 GB, free: 2.867 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000961/0.5205, allocations: 0.5594 MB / 1.481 GB, free: 2.277 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5206, allocations: 15.97 kB / 1.481 GB, free: 2.262 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.979e-05/0.5206, allocations: 8.656 kB / 1.482 GB, free: 2.254 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.5206, allocations: 58.55 kB / 1.482 GB, free: 2.188 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.521, allocations: 63.67 kB / 1.482 GB, free: 2.125 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.5215, allocations: 259.6 kB / 1.482 GB, free: 1.844 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.5215, allocations: 20.66 kB / 1.482 GB, free: 1.824 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.5216, allocations: 24 kB / 1.482 GB, free: 1.801 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.5221, allocations: 320.9 kB / 1.482 GB, free: 1.461 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5222, allocations: 4 kB / 1.482 GB, free: 1.457 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.5222, allocations: 8 kB / 1.482 GB, free: 1.449 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.5222, allocations: 11.98 kB / 1.482 GB, free: 1.438 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.5226, allocations: 213.5 kB / 1.482 GB, free: 1.23 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.5241, allocations: 1.19 MB / 1.484 GB, free: 15.97 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.5244, allocations: 114.5 kB / 1.484 GB, free: 15.85 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.5245, allocations: 88.73 kB / 1.484 GB, free: 15.76 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/0.525, allocations: 71.92 kB / 1.484 GB, free: 15.69 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.5251, allocations: 34.56 kB / 1.484 GB, free: 15.64 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.5251, allocations: 0 / 1.484 GB, free: 15.64 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007532/0.5258, allocations: 269.7 kB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5259, allocations: 55.41 kB / 1.484 GB, free: 15.31 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.5262, allocations: 312.5 kB / 1.485 GB, free: 15 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.5262, allocations: 33.64 kB / 1.485 GB, free: 14.96 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.5264, allocations: 184.2 kB / 1.485 GB, free: 14.77 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.5264, allocations: 43.58 kB / 1.485 GB, free: 14.73 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.5265, allocations: 41.7 kB / 1.485 GB, free: 14.68 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5266, allocations: 338.8 kB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.5268, allocations: 63.89 kB / 1.485 GB, free: 14.28 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.527, allocations: 192.2 kB / 1.485 GB, free: 14.06 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.5274, allocations: 176.9 kB / 1.486 GB, free: 13.87 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5274, allocations: 4 kB / 1.486 GB, free: 13.86 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004339/0.5278, allocations: 221.3 kB / 1.486 GB, free: 13.64 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5278, allocations: 4 kB / 1.486 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5278, allocations: 0 / 1.486 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5278, allocations: 4 kB / 1.486 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.528, allocations: 31.92 kB / 1.486 GB, free: 13.6 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.528, allocations: 8.141 kB / 1.486 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5282, allocations: 31.83 kB / 1.486 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.5283, allocations: 8 kB / 1.486 GB, free: 13.55 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001682/0.5284, allocations: 161.7 kB / 1.486 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.5285, allocations: 27.81 kB / 1.486 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.5289, allocations: 206.7 kB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.5289, allocations: 0 / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5289, allocations: 3.938 kB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.5289, allocations: 7.984 kB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.53, allocations: 0.6281 MB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.53, allocations: 11.98 kB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.5302, allocations: 27.92 kB / 1.487 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.5302, allocations: 8.219 kB / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.5302, allocations: 7.984 kB / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5302, allocations: 0 / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.5302, allocations: 7.984 kB / 1.487 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.5307, allocations: 333.3 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.5308, allocations: 47.73 kB / 1.487 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.5308, allocations: 7.938 kB / 1.487 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.531, allocations: 11.98 kB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.531, allocations: 19.92 kB / 1.487 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.531, allocations: 4 kB / 1.487 GB, free: 11.93 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002481/0.5313, allocations: 227 kB / 1.488 GB, free: 11.7 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5313, allocations: 0 / 1.488 GB, free: 11.7 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003946/0.5317, allocations: 67.89 kB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.000946/0.5326, allocations: 0.921 MB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.533, allocations: 151.8 kB / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.533, allocations: 0 / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.5332, allocations: 84.2 kB / 1.489 GB, free: 10.43 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.534, allocations: 139.9 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.5379, allocations: 2.814 MB / 1.492 GB, free: 7.336 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.5381, allocations: 175.8 kB / 1.492 GB, free: 7.148 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000209/0.5383, allocations: 70.92 kB / 1.492 GB, free: 7.078 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.5384, allocations: 87.41 kB / 1.492 GB, free: 6.992 MB / 1.186 GB Notification: Performance of SimCode: time 8.31e-07/0.5384, allocations: 4 kB / 1.492 GB, free: 6.988 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.571, allocations: 8.836 MB / 1.501 GB, free: 14.46 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.81, allocations: 12.73 kB / 1.501 GB, free: 14.45 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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: 18.260305431089364]