Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00144/0.00144, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001617/0.001617, allocations: 208.8 kB / 23.03 MB, free: 4.926 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.069/3.069, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.001849/0.001849, allocations: 61.3 kB / 1.171 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3321, allocations: 179 MB / 1.345 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1848/0.5169, allocations: 142.1 MB / 1.484 GB, free: 1.32 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006002/0.5229, allocations: 4.185 MB / 1.488 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.5233, allocations: 19.81 kB / 1.488 GB, free: 13.11 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.5237, allocations: 131.1 kB / 1.488 GB, free: 12.98 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0009171/0.5247, allocations: 334.5 kB / 1.489 GB, free: 12.65 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.5255, allocations: 286.4 kB / 1.489 GB, free: 12.37 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007644/0.5262, allocations: 0.5651 MB / 1.489 GB, free: 11.8 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.5266, allocations: 169.3 kB / 1.49 GB, free: 11.64 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.5281, allocations: 0.6695 MB / 1.49 GB, free: 10.96 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.5285, allocations: 199.2 kB / 1.49 GB, free: 10.77 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.5285, allocations: 16 kB / 1.49 GB, free: 10.75 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.5288, allocations: 83.92 kB / 1.491 GB, free: 10.67 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.5289, allocations: 83.73 kB / 1.491 GB, free: 10.59 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.529, allocations: 103.5 kB / 1.491 GB, free: 10.49 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.5294, allocations: 302.8 kB / 1.491 GB, free: 10.19 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5294, allocations: 0 / 1.491 GB, free: 10.19 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5294, allocations: 3.938 kB / 1.491 GB, free: 10.19 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5295, allocations: 4 kB / 1.491 GB, free: 10.18 MB / 1.186 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.0008458/0.5303, allocations: 464.8 kB / 1.491 GB, free: 9.699 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5303, allocations: 12.03 kB / 1.491 GB, free: 9.688 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.5304, allocations: 4 kB / 1.491 GB, free: 9.684 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.329e-05/0.5304, allocations: 58.42 kB / 1.492 GB, free: 9.617 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.5305, allocations: 35.8 kB / 1.492 GB, free: 9.582 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.5309, allocations: 225.7 kB / 1.492 GB, free: 9.336 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.5309, allocations: 16 kB / 1.492 GB, free: 9.32 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.531, allocations: 16 kB / 1.492 GB, free: 9.305 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.5315, allocations: 269.7 kB / 1.492 GB, free: 9.004 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5315, allocations: 3.984 kB / 1.492 GB, free: 9 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.5315, allocations: 12 kB / 1.492 GB, free: 8.988 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5315, allocations: 4 kB / 1.492 GB, free: 8.984 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.5318, allocations: 153 kB / 1.492 GB, free: 8.836 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.5332, allocations: 1.289 MB / 1.494 GB, free: 7.465 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.5336, allocations: 175.7 kB / 1.494 GB, free: 7.238 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.5337, allocations: 89.11 kB / 1.494 GB, free: 7.133 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/0.5341, allocations: 55.81 kB / 1.494 GB, free: 7.078 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.5341, allocations: 34.56 kB / 1.494 GB, free: 7.035 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.5341, allocations: 0 / 1.494 GB, free: 7.035 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006291/0.5347, allocations: 213.2 kB / 1.494 GB, free: 6.82 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5348, allocations: 183.9 kB / 1.494 GB, free: 6.598 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.5351, allocations: 288.2 kB / 1.495 GB, free: 6.309 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.5352, allocations: 29.7 kB / 1.495 GB, free: 6.273 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.5353, allocations: 151.8 kB / 1.495 GB, free: 6.121 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.5353, allocations: 40.39 kB / 1.495 GB, free: 6.082 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.5354, allocations: 33.7 kB / 1.495 GB, free: 6.043 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5356, allocations: 346.8 kB / 1.495 GB, free: 5.695 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.5357, allocations: 43.95 kB / 1.495 GB, free: 5.652 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.536, allocations: 218.4 kB / 1.495 GB, free: 5.387 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.5363, allocations: 162.9 kB / 1.495 GB, free: 5.203 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5363, allocations: 0 / 1.495 GB, free: 5.203 MB / 1.186 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003879/0.5367, allocations: 189.3 kB / 1.496 GB, free: 5.012 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5367, allocations: 10.03 kB / 1.496 GB, free: 5.004 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5367, allocations: 4.219 kB / 1.496 GB, free: 5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5367, allocations: 4 kB / 1.496 GB, free: 4.996 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.5369, allocations: 35.91 kB / 1.496 GB, free: 4.961 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5369, allocations: 4 kB / 1.496 GB, free: 4.957 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.537, allocations: 27.77 kB / 1.496 GB, free: 4.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.5371, allocations: 12 kB / 1.496 GB, free: 4.918 MB / 1.186 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.0001398/0.5372, allocations: 141.8 kB / 1.496 GB, free: 4.77 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.5373, allocations: 27.8 kB / 1.496 GB, free: 4.742 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.5377, allocations: 139 kB / 1.496 GB, free: 4.598 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5377, allocations: 4 kB / 1.496 GB, free: 4.594 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5377, allocations: 0 / 1.496 GB, free: 4.594 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5377, allocations: 4 kB / 1.496 GB, free: 4.59 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008875/0.5386, allocations: 0.7291 MB / 1.497 GB, free: 3.793 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5386, allocations: 0 / 1.497 GB, free: 3.793 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.5387, allocations: 23.98 kB / 1.497 GB, free: 3.77 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5387, allocations: 4.156 kB / 1.497 GB, free: 3.766 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.5387, allocations: 7.938 kB / 1.497 GB, free: 3.758 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5387, allocations: 7.922 kB / 1.497 GB, free: 3.75 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5387, allocations: 4 kB / 1.497 GB, free: 3.746 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.5393, allocations: 335.5 kB / 1.497 GB, free: 3.387 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.5394, allocations: 43.97 kB / 1.497 GB, free: 3.344 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.5394, allocations: 8 kB / 1.497 GB, free: 3.336 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.5396, allocations: 12.06 kB / 1.497 GB, free: 3.324 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5396, allocations: 11.92 kB / 1.497 GB, free: 3.312 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5396, allocations: 11.94 kB / 1.497 GB, free: 3.301 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002269/0.5398, allocations: 215 kB / 1.497 GB, free: 3.09 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5398, allocations: 0 / 1.497 GB, free: 3.09 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003462/0.5402, allocations: 47.94 kB / 1.497 GB, free: 3.043 MB / 1.186 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.001006/0.5412, allocations: 0.8921 MB / 1.498 GB, free: 2.109 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.5415, allocations: 123.8 kB / 1.498 GB, free: 1.988 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5415, allocations: 0 / 1.498 GB, free: 1.988 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.5417, allocations: 55.91 kB / 1.499 GB, free: 1.934 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000745/0.5425, allocations: 135.3 kB / 1.499 GB, free: 1.805 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.5459, allocations: 2.602 MB / 1.501 GB, free: 15.05 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.5461, allocations: 154.2 kB / 1.501 GB, free: 14.88 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000155/0.5463, allocations: 50.25 kB / 1.501 GB, free: 14.83 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.5464, allocations: 67.42 kB / 1.501 GB, free: 14.76 MB / 1.201 GB Notification: Performance of SimCode: time 4.3e-07/0.5464, allocations: 0 / 1.501 GB, free: 14.76 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04537/0.5917, allocations: 7.478 MB / 1.509 GB, free: 7.547 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.77, allocations: 11.16 kB / 1.509 GB, free: 7.539 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.192568083992228]