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.00166/0.00166, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001938/0.001938, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.386/1.386, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.784/2.784, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] 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.001882/0.001882, allocations: 66.41 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8522/0.8541, allocations: 176.1 MB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1968/1.051, allocations: 164.8 MB / 1.482 GB, free: 15.56 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006358/1.057, allocations: 4.583 MB / 1.487 GB, free: 11.86 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/1.058, allocations: 14 kB / 1.487 GB, free: 11.86 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005565/1.058, allocations: 131.3 kB / 1.487 GB, free: 11.74 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0009938/1.059, allocations: 341.5 kB / 1.487 GB, free: 11.48 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008148/1.06, allocations: 290.5 kB / 1.488 GB, free: 11.27 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007628/1.061, allocations: 0.5538 MB / 1.488 GB, free: 10.96 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/1.061, allocations: 174.3 kB / 1.488 GB, free: 10.85 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/1.063, allocations: 0.6799 MB / 1.489 GB, free: 10.4 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/1.063, allocations: 199.9 kB / 1.489 GB, free: 10.29 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/1.063, allocations: 15.84 kB / 1.489 GB, free: 10.29 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/1.063, allocations: 80.8 kB / 1.489 GB, free: 10.25 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/1.063, allocations: 93.11 kB / 1.489 GB, free: 10.19 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/1.063, allocations: 122.9 kB / 1.489 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/1.064, allocations: 293.7 kB / 1.49 GB, free: 9.926 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.064, allocations: 1.125 kB / 1.49 GB, free: 9.926 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.212e-06/1.064, allocations: 0 / 1.49 GB, free: 9.926 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.064, allocations: 4 kB / 1.49 GB, free: 9.922 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.0009341/1.065, allocations: 0.5486 MB / 1.49 GB, free: 9.406 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.065, allocations: 14.05 kB / 1.49 GB, free: 9.402 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.826e-05/1.065, allocations: 7.938 kB / 1.49 GB, free: 9.398 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/1.065, allocations: 55.98 kB / 1.49 GB, free: 9.34 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/1.065, allocations: 26.55 kB / 1.49 GB, free: 9.328 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/1.065, allocations: 293.7 kB / 1.491 GB, free: 9.047 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/1.066, allocations: 11.56 kB / 1.491 GB, free: 9.043 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/1.066, allocations: 20.75 kB / 1.491 GB, free: 9.035 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/1.066, allocations: 261.4 kB / 1.491 GB, free: 8.824 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.066, allocations: 3.938 kB / 1.491 GB, free: 8.82 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/1.066, allocations: 10.64 kB / 1.491 GB, free: 8.812 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.066, allocations: 4.781 kB / 1.491 GB, free: 8.812 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/1.066, allocations: 148.9 kB / 1.491 GB, free: 8.742 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/1.068, allocations: 1.355 MB / 1.492 GB, free: 7.441 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/1.068, allocations: 182.9 kB / 1.493 GB, free: 7.25 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/1.068, allocations: 93.58 kB / 1.493 GB, free: 7.172 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003569/1.069, allocations: 123.4 kB / 1.493 GB, free: 7.055 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/1.069, allocations: 36.75 kB / 1.493 GB, free: 7.012 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/1.069, allocations: 0 / 1.493 GB, free: 7.012 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006435/1.069, allocations: 211.3 kB / 1.493 GB, free: 6.891 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.069, allocations: 186.3 kB / 1.493 GB, free: 6.668 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/1.07, allocations: 290.3 kB / 1.494 GB, free: 6.48 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/1.07, allocations: 26.77 kB / 1.494 GB, free: 6.449 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/1.07, allocations: 147.9 kB / 1.494 GB, free: 6.312 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/1.07, allocations: 49.16 kB / 1.494 GB, free: 6.27 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/1.07, allocations: 38.2 kB / 1.494 GB, free: 6.238 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.07, allocations: 333 kB / 1.494 GB, free: 5.91 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/1.07, allocations: 47.94 kB / 1.494 GB, free: 5.887 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/1.071, allocations: 109.8 kB / 1.494 GB, free: 5.789 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/1.071, allocations: 165.4 kB / 1.494 GB, free: 5.66 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.071, allocations: 4 kB / 1.494 GB, free: 5.656 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004008/1.071, allocations: 190.9 kB / 1.495 GB, free: 5.547 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.071, allocations: 10.55 kB / 1.495 GB, free: 5.543 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.071, allocations: 4.969 kB / 1.495 GB, free: 5.539 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.071, allocations: 7.094 kB / 1.495 GB, free: 5.535 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/1.071, allocations: 28.45 kB / 1.495 GB, free: 5.531 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/1.071, allocations: 6.375 kB / 1.495 GB, free: 5.527 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/1.072, allocations: 26.83 kB / 1.495 GB, free: 5.512 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/1.072, allocations: 11.12 kB / 1.495 GB, free: 5.508 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.0001337/1.072, allocations: 142.3 kB / 1.495 GB, free: 5.375 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/1.072, allocations: 31.53 kB / 1.495 GB, free: 5.355 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/1.072, allocations: 130.6 kB / 1.495 GB, free: 5.266 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.072, allocations: 10.19 kB / 1.495 GB, free: 5.258 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.072, allocations: 2.156 kB / 1.495 GB, free: 5.258 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.072, allocations: 6.094 kB / 1.495 GB, free: 5.254 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/1.073, allocations: 0.7677 MB / 1.496 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.073, allocations: 5.562 kB / 1.496 GB, free: 4.492 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/1.073, allocations: 21.27 kB / 1.496 GB, free: 4.488 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.073, allocations: 6.281 kB / 1.496 GB, free: 4.484 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/1.073, allocations: 2.688 kB / 1.496 GB, free: 4.484 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.073, allocations: 1.281 kB / 1.496 GB, free: 4.484 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.073, allocations: 2.344 kB / 1.496 GB, free: 4.484 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/1.074, allocations: 344.6 kB / 1.496 GB, free: 4.211 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.074, allocations: 107.5 kB / 1.496 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/1.074, allocations: 2.344 kB / 1.496 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/1.074, allocations: 18.17 kB / 1.496 GB, free: 4.086 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/1.074, allocations: 11.48 kB / 1.496 GB, free: 4.078 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/1.074, allocations: 8.656 kB / 1.496 GB, free: 4.074 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002098/1.074, allocations: 213.5 kB / 1.496 GB, free: 3.93 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.074, allocations: 0 / 1.496 GB, free: 3.93 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003467/1.075, allocations: 57.55 kB / 1.496 GB, free: 3.918 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.0009615/1.076, allocations: 0.8981 MB / 1.497 GB, free: 3.105 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003485/1.076, allocations: 112.1 kB / 1.497 GB, free: 3.059 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.076, allocations: 1.188 kB / 1.497 GB, free: 3.059 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/1.076, allocations: 63.7 kB / 1.498 GB, free: 3.027 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/1.077, allocations: 135.3 kB / 1.498 GB, free: 2.953 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/1.081, allocations: 2.616 MB / 1.5 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/1.081, allocations: 0.7496 MB / 1.501 GB, free: 180 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001663/1.081, allocations: 52.19 kB / 1.501 GB, free: 156 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.081, allocations: 73.25 kB / 1.501 GB, free: 96 kB / 1.17 GB Notification: Performance of SimCode: time 4.31e-07/1.081, allocations: 3.938 kB / 1.501 GB, free: 92 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/1.109, allocations: 6.885 MB / 1.508 GB, free: 9.922 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/9.52, allocations: 16.28 kB / 1.508 GB, free: 9.906 MB / 1.186 GB " [Timeout remaining time 290] (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: 15.68374596099602]