Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.0007773/0.0007773, allocations: 80.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.0008344/0.0008344, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8536/0.8536, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.676/1.676, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.577e-05, allocations: 13.25 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5242/0.5242, allocations: 142.2 MB / 1.12 GB, free: 16.94 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.5272, allocations: 4.168 MB / 1.124 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.5273, allocations: 18.25 kB / 1.124 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.5277, allocations: 130.4 kB / 1.124 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.5282, allocations: 349 kB / 1.124 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.5287, allocations: 309.2 kB / 1.125 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.5292, allocations: 0.5642 MB / 1.125 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.5294, allocations: 161.3 kB / 1.125 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.5304, allocations: 0.7395 MB / 1.126 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.5306, allocations: 169.3 kB / 1.126 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.5306, allocations: 16.78 kB / 1.126 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.5308, allocations: 82.52 kB / 1.126 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.5308, allocations: 90.11 kB / 1.126 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.5309, allocations: 79.08 kB / 1.127 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.5312, allocations: 318.5 kB / 1.127 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5312, allocations: 0.5625 kB / 1.127 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5312, allocations: 0 / 1.127 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5312, allocations: 0 / 1.127 GB, free: 12.8 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005588/0.5318, allocations: 470.9 kB / 1.127 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5318, allocations: 9.594 kB / 1.127 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.5319, allocations: 53.09 kB / 1.127 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.5319, allocations: 32.69 kB / 1.127 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.5322, allocations: 225.4 kB / 1.128 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.5322, allocations: 16.81 kB / 1.128 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.5322, allocations: 24.16 kB / 1.128 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.5325, allocations: 269.7 kB / 1.128 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.5325, allocations: 1.094 kB / 1.128 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.5325, allocations: 11.02 kB / 1.128 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5326, allocations: 4.969 kB / 1.128 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.5328, allocations: 150.9 kB / 1.128 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.5335, allocations: 1.295 MB / 1.129 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.5336, allocations: 181.2 kB / 1.129 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/0.5337, allocations: 89.34 kB / 1.13 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.5339, allocations: 39.06 kB / 1.13 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.5339, allocations: 44.39 kB / 1.13 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.5339, allocations: 4 kB / 1.13 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0003585/0.5343, allocations: 203.9 kB / 1.13 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5343, allocations: 187.7 kB / 1.13 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.5345, allocations: 290.2 kB / 1.13 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.5345, allocations: 27.33 kB / 1.13 GB, free: 9.988 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.5346, allocations: 154.3 kB / 1.13 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.5346, allocations: 39.72 kB / 1.13 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.5346, allocations: 33.64 kB / 1.131 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.013e-05/0.5347, allocations: 341.5 kB / 1.131 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.5348, allocations: 42.19 kB / 1.131 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.5349, allocations: 219.9 kB / 1.131 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.535, allocations: 159.8 kB / 1.131 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.535, allocations: 1.5 kB / 1.131 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002102/0.5352, allocations: 197.3 kB / 1.131 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5353, allocations: 5.438 kB / 1.131 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5353, allocations: 3.25 kB / 1.131 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5353, allocations: 6.281 kB / 1.131 GB, free: 9.047 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.5354, allocations: 32.94 kB / 1.131 GB, free: 9.043 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5354, allocations: 4.031 kB / 1.131 GB, free: 9.043 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.5354, allocations: 25.58 kB / 1.132 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.5355, allocations: 7.297 kB / 1.132 GB, free: 9.031 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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 6.862e-05/0.5355, allocations: 149.7 kB / 1.132 GB, free: 8.898 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.5356, allocations: 31.8 kB / 1.132 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.5358, allocations: 130.9 kB / 1.132 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.5358, allocations: 6.562 kB / 1.132 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5358, allocations: 6.828 kB / 1.132 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5358, allocations: 2.938 kB / 1.132 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.5362, allocations: 0.7259 MB / 1.133 GB, free: 8.137 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5362, allocations: 6.625 kB / 1.133 GB, free: 8.133 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.5363, allocations: 25.78 kB / 1.133 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5363, allocations: 3.156 kB / 1.133 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5363, allocations: 6.5 kB / 1.133 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5363, allocations: 1.953 kB / 1.133 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5363, allocations: 4.719 kB / 1.133 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.5366, allocations: 330.6 kB / 1.133 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.5367, allocations: 44.2 kB / 1.133 GB, free: 7.871 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.5367, allocations: 2.188 kB / 1.133 GB, free: 7.871 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.5367, allocations: 12.39 kB / 1.133 GB, free: 7.867 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.5368, allocations: 12.92 kB / 1.133 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.5368, allocations: 4.156 kB / 1.133 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001223/0.5369, allocations: 211 kB / 1.133 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5369, allocations: 0 / 1.133 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002119/0.5371, allocations: 59.08 kB / 1.133 GB, free: 7.738 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0004326/0.5376, allocations: 0.8961 MB / 1.134 GB, free: 6.969 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.5378, allocations: 114.1 kB / 1.134 GB, free: 6.941 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.5378, allocations: 3.938 kB / 1.134 GB, free: 6.938 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.769e-05/0.5378, allocations: 62.98 kB / 1.134 GB, free: 6.918 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.5383, allocations: 124.3 kB / 1.134 GB, free: 6.891 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.54, allocations: 2.592 MB / 1.137 GB, free: 5.074 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.5401, allocations: 152.6 kB / 1.137 GB, free: 4.988 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.5402, allocations: 50.45 kB / 1.137 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.5403, allocations: 76.23 kB / 1.137 GB, free: 4.926 MB / 0.9948 GB Notification: Performance of SimCode: time 5.61e-07/0.5403, allocations: 0 / 1.137 GB, free: 4.926 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.5614, allocations: 7.956 MB / 1.145 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/7.237, allocations: 9.156 kB / 1.145 GB, free: 3.531 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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: 11.109090153127909]