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.001356/0.001356, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001626/0.001626, allocations: 217 kB / 22.24 MB, free: 5.262 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.793 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 2.874/2.874, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.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: 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.001913/0.001913, allocations: 63.56 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3296, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1818/0.5114, allocations: 142.2 MB / 1.465 GB, free: 2.715 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005183/0.5166, allocations: 4.189 MB / 1.469 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.5169, allocations: 15.88 kB / 1.469 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.5173, allocations: 127 kB / 1.469 GB, free: 14.38 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0007656/0.5181, allocations: 338.5 kB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.5188, allocations: 298.3 kB / 1.47 GB, free: 13.76 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.5195, allocations: 0.5728 MB / 1.47 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.5198, allocations: 157.5 kB / 1.47 GB, free: 13.02 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.5213, allocations: 0.6694 MB / 1.471 GB, free: 12.35 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.5216, allocations: 199.2 kB / 1.471 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.5216, allocations: 16 kB / 1.471 GB, free: 12.14 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.5218, allocations: 79.92 kB / 1.471 GB, free: 12.06 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.5219, allocations: 91.72 kB / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.522, allocations: 103.5 kB / 1.471 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.5224, allocations: 306.8 kB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5224, allocations: 0 / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5224, allocations: 0 / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5224, allocations: 0 / 1.472 GB, free: 11.57 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008118/0.5232, allocations: 470.5 kB / 1.472 GB, free: 11.08 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5233, allocations: 12.03 kB / 1.472 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.5233, allocations: 54.48 kB / 1.472 GB, free: 11.01 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.5234, allocations: 31.8 kB / 1.472 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.5238, allocations: 237.5 kB / 1.472 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.5238, allocations: 12 kB / 1.472 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.5238, allocations: 16 kB / 1.473 GB, free: 10.69 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.5243, allocations: 269.6 kB / 1.473 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5243, allocations: 7.938 kB / 1.473 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.5243, allocations: 8 kB / 1.473 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.5243, allocations: 4 kB / 1.473 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.5246, allocations: 143.8 kB / 1.473 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.5259, allocations: 1.289 MB / 1.474 GB, free: 8.855 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.5262, allocations: 179.7 kB / 1.474 GB, free: 8.625 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.5263, allocations: 89.11 kB / 1.474 GB, free: 8.52 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.5266, allocations: 39.94 kB / 1.474 GB, free: 8.48 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.5267, allocations: 50.44 kB / 1.475 GB, free: 8.422 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5267, allocations: 0 / 1.475 GB, free: 8.422 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.000574/0.5272, allocations: 217.2 kB / 1.475 GB, free: 8.203 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.5273, allocations: 183.9 kB / 1.475 GB, free: 7.98 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.5276, allocations: 288.8 kB / 1.475 GB, free: 7.691 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.5276, allocations: 33.7 kB / 1.475 GB, free: 7.652 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5278, allocations: 151.9 kB / 1.475 GB, free: 7.5 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.5278, allocations: 35.77 kB / 1.475 GB, free: 7.465 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.5279, allocations: 37.7 kB / 1.475 GB, free: 7.422 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.528, allocations: 334.8 kB / 1.476 GB, free: 7.086 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.5281, allocations: 47.97 kB / 1.476 GB, free: 7.039 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.5284, allocations: 226.4 kB / 1.476 GB, free: 6.766 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.5286, allocations: 154.7 kB / 1.476 GB, free: 6.59 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5286, allocations: 0 / 1.476 GB, free: 6.59 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003715/0.529, allocations: 197.6 kB / 1.476 GB, free: 6.391 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.529, allocations: 8 kB / 1.476 GB, free: 6.383 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.529, allocations: 64 / 1.476 GB, free: 6.383 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5291, allocations: 8 kB / 1.476 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.5292, allocations: 31.92 kB / 1.476 GB, free: 6.344 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5292, allocations: 3.984 kB / 1.476 GB, free: 6.34 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.5293, allocations: 31.78 kB / 1.476 GB, free: 6.309 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.5294, allocations: 11.98 kB / 1.476 GB, free: 6.297 MB / 1.17 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 0.0001326/0.5295, allocations: 153.9 kB / 1.477 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5296, allocations: 27.8 kB / 1.477 GB, free: 6.109 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.5299, allocations: 127.1 kB / 1.477 GB, free: 5.973 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5299, allocations: 4 kB / 1.477 GB, free: 5.969 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5299, allocations: 3.984 kB / 1.477 GB, free: 5.965 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.5299, allocations: 4 kB / 1.477 GB, free: 5.961 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/0.5308, allocations: 0.7252 MB / 1.477 GB, free: 5.168 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5308, allocations: 4.156 kB / 1.477 GB, free: 5.164 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.5309, allocations: 27.98 kB / 1.477 GB, free: 5.137 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5309, allocations: 0 / 1.477 GB, free: 5.137 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.5309, allocations: 4 kB / 1.477 GB, free: 5.133 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5309, allocations: 0 / 1.477 GB, free: 5.133 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5309, allocations: 7.938 kB / 1.477 GB, free: 5.125 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.5314, allocations: 339.5 kB / 1.478 GB, free: 4.762 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.5315, allocations: 39.91 kB / 1.478 GB, free: 4.723 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.5315, allocations: 3.984 kB / 1.478 GB, free: 4.719 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.5316, allocations: 4 kB / 1.478 GB, free: 4.715 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.5317, allocations: 19.92 kB / 1.478 GB, free: 4.695 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.5317, allocations: 8.062 kB / 1.478 GB, free: 4.688 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002007/0.5319, allocations: 211.1 kB / 1.478 GB, free: 4.484 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5319, allocations: 0 / 1.478 GB, free: 4.484 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003249/0.5322, allocations: 59.88 kB / 1.478 GB, free: 4.426 MB / 1.17 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.0009049/0.5331, allocations: 0.8921 MB / 1.479 GB, free: 3.492 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.5334, allocations: 119.8 kB / 1.479 GB, free: 3.375 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5334, allocations: 0 / 1.479 GB, free: 3.375 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.5336, allocations: 60.72 kB / 1.479 GB, free: 3.316 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.5343, allocations: 122.3 kB / 1.479 GB, free: 3.199 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.5373, allocations: 2.614 MB / 1.482 GB, free: 444 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.5375, allocations: 146.2 kB / 1.482 GB, free: 280 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.5376, allocations: 54.25 kB / 1.482 GB, free: 224 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.5377, allocations: 67.41 kB / 1.482 GB, free: 156 kB / 1.17 GB Notification: Performance of SimCode: time 4.31e-07/0.5377, allocations: 0 / 1.482 GB, free: 156 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.5733, allocations: 7.908 MB / 1.49 GB, free: 8.488 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.74, allocations: 5.484 kB / 1.49 GB, free: 8.488 MB / 1.186 GB " [Timeout remaining time 289] (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/jenkins1/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: 16.834062010981143]