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.001425/0.001425, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00163/0.00163, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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.831/2.831, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_12_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.001764/0.001764, allocations: 70.41 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2824, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1816/0.464, allocations: 164.9 MB / 1.488 GB, free: 12.39 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005898/0.4699, allocations: 4.621 MB / 1.492 GB, free: 7.766 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.4702, allocations: 11.88 kB / 1.492 GB, free: 7.754 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.4707, allocations: 131.1 kB / 1.492 GB, free: 7.625 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0009114/0.4716, allocations: 342.4 kB / 1.493 GB, free: 7.289 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.4724, allocations: 304.8 kB / 1.493 GB, free: 6.996 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007365/0.4731, allocations: 0.5651 MB / 1.494 GB, free: 6.43 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.4734, allocations: 157.4 kB / 1.494 GB, free: 6.27 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.4749, allocations: 0.6928 MB / 1.494 GB, free: 5.574 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.4752, allocations: 199.2 kB / 1.495 GB, free: 5.379 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.4752, allocations: 16 kB / 1.495 GB, free: 5.363 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.4754, allocations: 91.86 kB / 1.495 GB, free: 5.273 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.4755, allocations: 91.72 kB / 1.495 GB, free: 5.184 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.4756, allocations: 119.4 kB / 1.495 GB, free: 5.066 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.476, allocations: 294.8 kB / 1.495 GB, free: 4.777 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.476, allocations: 3.938 kB / 1.495 GB, free: 4.773 MB / 1.186 GB Notification: Performance of FrontEnd: time 8.72e-07/0.476, allocations: 0 / 1.495 GB, free: 4.773 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.476, allocations: 0 / 1.495 GB, free: 4.773 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.0008134/0.4769, allocations: 476.7 kB / 1.496 GB, free: 4.277 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.4769, allocations: 12.03 kB / 1.496 GB, free: 4.266 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.338e-05/0.4769, allocations: 8 kB / 1.496 GB, free: 4.258 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.477, allocations: 54.48 kB / 1.496 GB, free: 4.195 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.477, allocations: 27.86 kB / 1.496 GB, free: 4.168 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.4774, allocations: 225.6 kB / 1.496 GB, free: 3.922 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4774, allocations: 19.78 kB / 1.496 GB, free: 3.902 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.4775, allocations: 20 kB / 1.496 GB, free: 3.883 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.478, allocations: 269.7 kB / 1.496 GB, free: 3.582 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.478, allocations: 0 / 1.496 GB, free: 3.582 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.478, allocations: 12 kB / 1.496 GB, free: 3.57 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.478, allocations: 4 kB / 1.496 GB, free: 3.566 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.4784, allocations: 143.8 kB / 1.496 GB, free: 3.426 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.4798, allocations: 1.332 MB / 1.498 GB, free: 2.008 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.4801, allocations: 179.7 kB / 1.498 GB, free: 1.777 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.4804, allocations: 89.11 kB / 1.498 GB, free: 1.672 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.4807, allocations: 47.88 kB / 1.498 GB, free: 1.625 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.4807, allocations: 46.5 kB / 1.498 GB, free: 1.57 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4807, allocations: 0 / 1.498 GB, free: 1.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0005982/0.4813, allocations: 209.3 kB / 1.498 GB, free: 1.359 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4814, allocations: 187.9 kB / 1.498 GB, free: 1.133 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.4817, allocations: 288.2 kB / 1.499 GB, free: 0.8438 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.4817, allocations: 34.33 kB / 1.499 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4818, allocations: 151.9 kB / 1.499 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.4819, allocations: 39.62 kB / 1.499 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.4819, allocations: 29.72 kB / 1.499 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4821, allocations: 338.8 kB / 1.499 GB, free: 244 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.4822, allocations: 43.95 kB / 1.499 GB, free: 200 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.4824, allocations: 115.7 kB / 1.499 GB, free: 56 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.4827, allocations: 158.7 kB / 1.5 GB, free: 15.88 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4827, allocations: 0 / 1.5 GB, free: 15.88 MB / 1.201 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003772/0.4831, allocations: 193.4 kB / 1.5 GB, free: 15.68 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4831, allocations: 11.94 kB / 1.5 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4831, allocations: 0 / 1.5 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4831, allocations: 4 kB / 1.5 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.4833, allocations: 31.97 kB / 1.5 GB, free: 15.63 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4833, allocations: 7.938 kB / 1.5 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4834, allocations: 31.77 kB / 1.5 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4834, allocations: 8 kB / 1.5 GB, free: 15.59 MB / 1.201 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.0001369/0.4836, allocations: 149.9 kB / 1.5 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.4837, allocations: 28.11 kB / 1.5 GB, free: 15.4 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.484, allocations: 135 kB / 1.5 GB, free: 15.26 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.484, allocations: 4 kB / 1.5 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.484, allocations: 0 / 1.5 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.484, allocations: 4 kB / 1.5 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008512/0.4849, allocations: 0.7447 MB / 1.501 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4849, allocations: 4 kB / 1.501 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.485, allocations: 23.92 kB / 1.501 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.485, allocations: 4 kB / 1.501 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.485, allocations: 4 kB / 1.501 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.485, allocations: 4 kB / 1.501 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.485, allocations: 8.141 kB / 1.501 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.4856, allocations: 339.5 kB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.4856, allocations: 39.83 kB / 1.501 GB, free: 13.99 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.4857, allocations: 0 / 1.501 GB, free: 13.99 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4858, allocations: 4 kB / 1.501 GB, free: 13.98 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.4858, allocations: 19.86 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.4858, allocations: 4 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002033/0.486, allocations: 211.1 kB / 1.501 GB, free: 13.76 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.486, allocations: 4.156 kB / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003242/0.4864, allocations: 63.86 kB / 1.502 GB, free: 13.69 MB / 1.201 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.0008995/0.4873, allocations: 0.8959 MB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.4876, allocations: 120.1 kB / 1.503 GB, free: 12.64 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4876, allocations: 4.188 kB / 1.503 GB, free: 12.63 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.4877, allocations: 55.91 kB / 1.503 GB, free: 12.58 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.4884, allocations: 127.2 kB / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.4918, allocations: 2.61 MB / 1.505 GB, free: 9.695 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.4922, allocations: 0.7558 MB / 1.506 GB, free: 8.914 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.4923, allocations: 54.25 kB / 1.506 GB, free: 8.863 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.4924, allocations: 63.42 kB / 1.506 GB, free: 8.801 MB / 1.201 GB Notification: Performance of SimCode: time 5.62e-07/0.4924, allocations: 0 / 1.506 GB, free: 8.801 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.5234, allocations: 7.071 MB / 1.513 GB, free: 1.949 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.07, allocations: 9.406 kB / 1.513 GB, free: 1.941 MB / 1.201 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: 17.03630224399967]