Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001292/0.001293, allocations: 115 kB / 17.08 MB, free: 5.988 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.00131/0.00131, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 489.3 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8941/0.896, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2218/1.118, allocations: 179.4 MB / 1.438 GB, free: 1.457 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0109/1.129, allocations: 7.837 MB / 1.445 GB, free: 11.11 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008313/1.13, allocations: 21.44 kB / 1.445 GB, free: 11.1 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007563/1.131, allocations: 248.8 kB / 1.446 GB, free: 10.88 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003396/1.134, allocations: 1.207 MB / 1.447 GB, free: 9.961 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/1.136, allocations: 0.7342 MB / 1.448 GB, free: 9.418 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001573/1.138, allocations: 1.066 MB / 1.449 GB, free: 8.801 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/1.138, allocations: 416.2 kB / 1.449 GB, free: 8.539 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/1.141, allocations: 0.9632 MB / 1.45 GB, free: 7.961 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009126/1.142, allocations: 426.6 kB / 1.45 GB, free: 7.719 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-05/1.143, allocations: 40.19 kB / 1.45 GB, free: 7.715 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/1.145, allocations: 0.9415 MB / 1.451 GB, free: 6.781 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/1.145, allocations: 151.6 kB / 1.452 GB, free: 6.633 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003371/1.145, allocations: 250.7 kB / 1.452 GB, free: 6.387 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/1.147, allocations: 0.9371 MB / 1.453 GB, free: 5.449 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.147, allocations: 0 / 1.453 GB, free: 5.449 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.499e-06/1.147, allocations: 3.984 kB / 1.453 GB, free: 5.445 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.147, allocations: 0 / 1.453 GB, free: 5.445 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001371/1.149, allocations: 0.8212 MB / 1.453 GB, free: 4.574 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.149, allocations: 8.031 kB / 1.453 GB, free: 4.566 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000965/1.15, allocations: 155.5 kB / 1.454 GB, free: 4.414 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/1.15, allocations: 411.6 kB / 1.454 GB, free: 3.969 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/1.15, allocations: 33 kB / 1.454 GB, free: 3.938 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/1.15, allocations: 36 kB / 1.454 GB, free: 3.902 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/1.151, allocations: 454.4 kB / 1.455 GB, free: 3.434 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.151, allocations: 0 / 1.455 GB, free: 3.434 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/1.151, allocations: 19.94 kB / 1.455 GB, free: 3.414 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.151, allocations: 8 kB / 1.455 GB, free: 3.406 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/1.152, allocations: 319.8 kB / 1.455 GB, free: 3.094 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/1.154, allocations: 2.012 MB / 1.457 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/1.155, allocations: 242.3 kB / 1.457 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/1.155, allocations: 152.7 kB / 1.457 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/1.156, allocations: 303.2 kB / 1.457 GB, free: 164 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/1.156, allocations: 30.56 kB / 1.458 GB, free: 124 kB / 1.139 GB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/1.156, allocations: 8 kB / 1.458 GB, free: 116 kB / 1.139 GB Notification: Performance of matching and sorting (n=24): time 0.001131/1.157, allocations: 456.3 kB / 1.458 GB, free: 15.66 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/1.157, allocations: 55.34 kB / 1.458 GB, free: 15.6 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/1.158, allocations: 405.8 kB / 1.458 GB, free: 15.2 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/1.158, allocations: 29.7 kB / 1.458 GB, free: 15.16 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/1.158, allocations: 232.6 kB / 1.459 GB, free: 14.93 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/1.158, allocations: 91.2 kB / 1.459 GB, free: 14.84 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.158, allocations: 53.7 kB / 1.459 GB, free: 14.78 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.158, allocations: 354.7 kB / 1.459 GB, free: 14.43 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/1.158, allocations: 107.9 kB / 1.459 GB, free: 14.32 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/1.159, allocations: 190.6 kB / 1.459 GB, free: 14.11 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/1.159, allocations: 305.5 kB / 1.46 GB, free: 13.79 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.159, allocations: 0 / 1.46 GB, free: 13.79 MB / 1.154 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007137/1.16, allocations: 365.2 kB / 1.46 GB, free: 13.43 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.16, allocations: 11.97 kB / 1.46 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.16, allocations: 0 / 1.46 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.16, allocations: 4 kB / 1.46 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/1.16, allocations: 59.91 kB / 1.46 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.16, allocations: 11.97 kB / 1.46 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/1.161, allocations: 31.78 kB / 1.46 GB, free: 13.31 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/1.161, allocations: 15.98 kB / 1.46 GB, free: 13.29 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 (31): * Single equations (assignments): 31 * 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.000213/1.161, allocations: 169.7 kB / 1.46 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/1.161, allocations: 47.72 kB / 1.46 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/1.162, allocations: 371 kB / 1.461 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.162, allocations: 4 kB / 1.461 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.162, allocations: 0 / 1.461 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.162, allocations: 0 / 1.461 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/1.163, allocations: 0.9371 MB / 1.462 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.163, allocations: 7.984 kB / 1.462 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/1.164, allocations: 39.98 kB / 1.462 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.164, allocations: 12.16 kB / 1.462 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/1.164, allocations: 11.94 kB / 1.462 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/1.164, allocations: 7.922 kB / 1.462 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.164, allocations: 4 kB / 1.462 GB, free: 11.6 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/1.165, allocations: 0.6346 MB / 1.462 GB, free: 10.93 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/1.165, allocations: 152.8 kB / 1.462 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/1.165, allocations: 4 kB / 1.462 GB, free: 10.76 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/1.165, allocations: 15.98 kB / 1.463 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/1.165, allocations: 23.98 kB / 1.463 GB, free: 10.72 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/1.165, allocations: 4 kB / 1.463 GB, free: 10.72 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003149/1.166, allocations: 283.1 kB / 1.463 GB, free: 10.44 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.166, allocations: 0 / 1.463 GB, free: 10.44 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004634/1.166, allocations: 119.8 kB / 1.463 GB, free: 10.32 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0004294/1.167, allocations: 160.1 kB / 1.463 GB, free: 10.16 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006268/1.167, allocations: 293.5 kB / 1.463 GB, free: 9.875 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.167, allocations: 0 / 1.463 GB, free: 9.875 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/1.167, allocations: 158.1 kB / 1.464 GB, free: 9.723 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/1.169, allocations: 225.8 kB / 1.464 GB, free: 9.504 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/1.17, allocations: 0.8489 MB / 1.465 GB, free: 8.602 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/1.17, allocations: 0.835 MB / 1.465 GB, free: 7.738 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.171, allocations: 35.44 kB / 1.465 GB, free: 7.703 MB / 1.154 GB Notification: Performance of SimCode: time 3.9e-07/1.171, allocations: 0 / 1.465 GB, free: 7.703 MB / 1.154 GB Notification: Performance of Templates: time 0.01131/1.182, allocations: 6.836 MB / 1.472 GB, free: 0.9375 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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: 12.59210411296226]