Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 111.6 kB / 18.14 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 197.2 kB / 21.42 MB, free: 0.5508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 250.2 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 68.48 kB / 1.108 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3465, allocations: 168.7 MB / 1.273 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1905/0.537, allocations: 162 MB / 1.431 GB, free: 9.102 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006511/0.5435, allocations: 4.603 MB / 1.436 GB, free: 4.488 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.544, allocations: 15.88 kB / 1.436 GB, free: 4.473 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.5444, allocations: 127.1 kB / 1.436 GB, free: 4.348 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0008895/0.5453, allocations: 346.4 kB / 1.436 GB, free: 4.008 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.5462, allocations: 292.4 kB / 1.436 GB, free: 3.727 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.5469, allocations: 0.5535 MB / 1.437 GB, free: 3.172 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.5472, allocations: 165.1 kB / 1.437 GB, free: 3.012 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009624/0.5482, allocations: 474.2 kB / 1.437 GB, free: 2.547 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.5485, allocations: 203.2 kB / 1.438 GB, free: 2.348 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.5485, allocations: 16 kB / 1.438 GB, free: 2.332 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.5487, allocations: 79.94 kB / 1.438 GB, free: 2.254 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.5488, allocations: 91.72 kB / 1.438 GB, free: 2.164 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.5489, allocations: 127.3 kB / 1.438 GB, free: 2.039 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.5493, allocations: 302.8 kB / 1.438 GB, free: 1.742 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5494, allocations: 0 / 1.438 GB, free: 1.742 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5494, allocations: 0 / 1.438 GB, free: 1.742 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5494, allocations: 0 / 1.438 GB, free: 1.742 MB / 1.139 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.0009209/0.5503, allocations: 0.5332 MB / 1.439 GB, free: 1.16 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5503, allocations: 15.97 kB / 1.439 GB, free: 1.145 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.5504, allocations: 54.55 kB / 1.439 GB, free: 1.082 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.5505, allocations: 31.75 kB / 1.439 GB, free: 1.051 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.5509, allocations: 283.6 kB / 1.439 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.5509, allocations: 16 kB / 1.439 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.551, allocations: 20 kB / 1.439 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.5514, allocations: 257.9 kB / 1.439 GB, free: 420 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5515, allocations: 7.922 kB / 1.439 GB, free: 412 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.5515, allocations: 8 kB / 1.439 GB, free: 404 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.5515, allocations: 4 kB / 1.439 GB, free: 400 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.5519, allocations: 151.7 kB / 1.44 GB, free: 248 kB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.5533, allocations: 1.368 MB / 1.441 GB, free: 14.79 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.5537, allocations: 179.7 kB / 1.441 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.5538, allocations: 85.11 kB / 1.441 GB, free: 14.45 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/0.5542, allocations: 129 kB / 1.441 GB, free: 14.31 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.5542, allocations: 42.44 kB / 1.441 GB, free: 14.26 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.5542, allocations: 0 / 1.441 GB, free: 14.26 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006481/0.5549, allocations: 209.7 kB / 1.442 GB, free: 14.05 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.555, allocations: 187.9 kB / 1.442 GB, free: 13.82 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.5553, allocations: 287 kB / 1.442 GB, free: 13.53 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.5553, allocations: 29.7 kB / 1.442 GB, free: 13.5 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.5555, allocations: 147.9 kB / 1.442 GB, free: 13.35 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.5555, allocations: 47.91 kB / 1.442 GB, free: 13.3 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.5556, allocations: 33.7 kB / 1.442 GB, free: 13.26 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5557, allocations: 330.8 kB / 1.443 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.5559, allocations: 47.95 kB / 1.443 GB, free: 12.88 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.5561, allocations: 118 kB / 1.443 GB, free: 12.74 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.5565, allocations: 162.9 kB / 1.443 GB, free: 12.56 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5565, allocations: 0 / 1.443 GB, free: 12.56 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000406/0.5569, allocations: 193.2 kB / 1.443 GB, free: 12.36 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5569, allocations: 12.22 kB / 1.443 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5569, allocations: 3.984 kB / 1.443 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5569, allocations: 4 kB / 1.443 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.5571, allocations: 31.92 kB / 1.443 GB, free: 12.31 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5571, allocations: 4 kB / 1.443 GB, free: 12.31 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.5573, allocations: 23.81 kB / 1.443 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.5573, allocations: 12 kB / 1.443 GB, free: 12.27 MB / 1.154 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.0001439/0.5574, allocations: 145.7 kB / 1.443 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.5576, allocations: 39.73 kB / 1.443 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.5579, allocations: 127 kB / 1.443 GB, free: 11.95 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5579, allocations: 4 kB / 1.443 GB, free: 11.95 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5579, allocations: 0 / 1.443 GB, free: 11.95 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5579, allocations: 4 kB / 1.443 GB, free: 11.95 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/0.5588, allocations: 0.773 MB / 1.444 GB, free: 11.1 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5588, allocations: 4 kB / 1.444 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5589, allocations: 19.98 kB / 1.444 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5589, allocations: 4 kB / 1.444 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.5589, allocations: 0 / 1.444 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.5589, allocations: 7.938 kB / 1.444 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5589, allocations: 0 / 1.444 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.5595, allocations: 351.6 kB / 1.445 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.5597, allocations: 117 kB / 1.445 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.5597, allocations: 8 kB / 1.445 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.5598, allocations: 12.08 kB / 1.445 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.5599, allocations: 15.86 kB / 1.445 GB, free: 10.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.5599, allocations: 4 kB / 1.445 GB, free: 10.52 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002178/0.5601, allocations: 209.9 kB / 1.445 GB, free: 10.31 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5601, allocations: 0 / 1.445 GB, free: 10.31 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003521/0.5605, allocations: 60 kB / 1.445 GB, free: 10.25 MB / 1.154 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.001147/0.5616, allocations: 0.9029 MB / 1.446 GB, free: 9.312 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.562, allocations: 120.1 kB / 1.446 GB, free: 9.195 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.562, allocations: 0 / 1.446 GB, free: 9.195 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.5621, allocations: 59.89 kB / 1.446 GB, free: 9.137 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.5629, allocations: 133.4 kB / 1.446 GB, free: 9.008 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.5663, allocations: 2.627 MB / 1.449 GB, free: 6.227 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.5668, allocations: 0.7595 MB / 1.449 GB, free: 5.441 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.5669, allocations: 54.25 kB / 1.449 GB, free: 5.387 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.567, allocations: 75.41 kB / 1.45 GB, free: 5.312 MB / 1.154 GB Notification: Performance of SimCode: time 5.01e-07/0.567, allocations: 0 / 1.45 GB, free: 5.312 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.5997, allocations: 6.898 MB / 1.456 GB, free: 14.58 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/9.117, allocations: 17.31 kB / 1.456 GB, free: 14.57 MB / 1.17 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.765951057896018]