Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.00138/0.00138, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.001374/0.001374, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.512/1.512, allocations: 230.6 MB / 252.8 MB, free: 8.973 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 3.335/3.335, allocations: 0.4899 GB / 0.7915 GB, free: 33.42 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: 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_12_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_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [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.002087/0.002087, allocations: 65.75 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3481, allocations: 176.1 MB / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2327/0.5808, allocations: 183 MB / 1.5 GB, free: 11.13 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.5919, allocations: 7.885 MB / 1.508 GB, free: 3.219 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000796/0.5927, allocations: 23.81 kB / 1.508 GB, free: 3.195 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.5935, allocations: 254.1 kB / 1.508 GB, free: 2.945 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.597, allocations: 1.256 MB / 1.509 GB, free: 1.684 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.5991, allocations: 0.7485 MB / 1.51 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.6006, allocations: 1.068 MB / 1.511 GB, free: 15.87 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006224/0.6012, allocations: 345.4 kB / 1.511 GB, free: 15.52 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.6048, allocations: 1.002 MB / 1.512 GB, free: 14.53 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.6058, allocations: 446.4 kB / 1.513 GB, free: 14.09 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.6059, allocations: 36 kB / 1.513 GB, free: 14.05 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.6082, allocations: 0.9938 MB / 1.514 GB, free: 13.06 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.6085, allocations: 159.5 kB / 1.514 GB, free: 12.9 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.6089, allocations: 250.8 kB / 1.514 GB, free: 12.66 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.6114, allocations: 0.9382 MB / 1.515 GB, free: 11.71 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6114, allocations: 0 / 1.515 GB, free: 11.71 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6114, allocations: 0 / 1.515 GB, free: 11.71 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.507e-05/0.6114, allocations: 0 / 1.515 GB, free: 11.71 MB / 1.217 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.001799/0.6132, allocations: 0.825 MB / 1.516 GB, free: 10.84 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.6132, allocations: 12.03 kB / 1.516 GB, free: 10.83 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.6144, allocations: 163.4 kB / 1.516 GB, free: 10.67 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.6152, allocations: 407.7 kB / 1.516 GB, free: 10.23 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.6152, allocations: 29 kB / 1.516 GB, free: 10.2 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.6153, allocations: 36 kB / 1.516 GB, free: 10.16 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008908/0.6162, allocations: 438.4 kB / 1.517 GB, free: 9.715 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6162, allocations: 8 kB / 1.517 GB, free: 9.707 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.6163, allocations: 19.94 kB / 1.517 GB, free: 9.688 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.6163, allocations: 8 kB / 1.517 GB, free: 9.68 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/0.617, allocations: 323.7 kB / 1.517 GB, free: 9.359 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.6197, allocations: 2.02 MB / 1.519 GB, free: 7.168 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.6202, allocations: 224 kB / 1.519 GB, free: 6.941 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.6205, allocations: 136.8 kB / 1.519 GB, free: 6.805 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/0.6212, allocations: 307.2 kB / 1.52 GB, free: 6.449 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.6212, allocations: 34.5 kB / 1.52 GB, free: 6.406 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.6212, allocations: 0 / 1.52 GB, free: 6.406 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001176/0.6224, allocations: 468.4 kB / 1.52 GB, free: 5.945 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.6224, allocations: 55.41 kB / 1.52 GB, free: 5.879 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.6229, allocations: 390 kB / 1.521 GB, free: 5.492 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.6229, allocations: 33.7 kB / 1.521 GB, free: 5.453 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.6232, allocations: 232.5 kB / 1.521 GB, free: 5.223 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.6233, allocations: 91.2 kB / 1.521 GB, free: 5.133 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.6234, allocations: 57.7 kB / 1.521 GB, free: 5.07 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6236, allocations: 354.7 kB / 1.521 GB, free: 4.715 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.6238, allocations: 111.9 kB / 1.521 GB, free: 4.605 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.6242, allocations: 190.5 kB / 1.522 GB, free: 4.395 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.6247, allocations: 304.5 kB / 1.522 GB, free: 4.074 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6247, allocations: 0 / 1.522 GB, free: 4.074 MB / 1.217 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000736/0.6255, allocations: 366.6 kB / 1.522 GB, free: 3.711 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6255, allocations: 8 kB / 1.522 GB, free: 3.703 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6255, allocations: 224 / 1.522 GB, free: 3.703 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.6255, allocations: 8 kB / 1.522 GB, free: 3.695 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.6258, allocations: 59.91 kB / 1.522 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.6258, allocations: 4 kB / 1.522 GB, free: 3.633 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.6261, allocations: 43.66 kB / 1.522 GB, free: 3.59 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.6262, allocations: 15.98 kB / 1.522 GB, free: 3.574 MB / 1.217 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.0002226/0.6264, allocations: 173.1 kB / 1.523 GB, free: 3.398 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.6265, allocations: 43.77 kB / 1.523 GB, free: 3.355 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008022/0.6273, allocations: 373 kB / 1.523 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.6273, allocations: 4 kB / 1.523 GB, free: 2.98 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6273, allocations: 0 / 1.523 GB, free: 2.98 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6273, allocations: 3.938 kB / 1.523 GB, free: 2.977 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.6289, allocations: 0.9333 MB / 1.524 GB, free: 1.965 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.629, allocations: 4 kB / 1.524 GB, free: 1.961 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.6292, allocations: 47.91 kB / 1.524 GB, free: 1.914 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.6292, allocations: 7.938 kB / 1.524 GB, free: 1.906 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.6293, allocations: 8.219 kB / 1.524 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.6293, allocations: 4 kB / 1.524 GB, free: 1.895 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6293, allocations: 7.938 kB / 1.524 GB, free: 1.887 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.6304, allocations: 0.6334 MB / 1.525 GB, free: 1.219 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.6307, allocations: 156.7 kB / 1.525 GB, free: 1.047 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.6307, allocations: 4 kB / 1.525 GB, free: 1.043 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.631, allocations: 8 kB / 1.525 GB, free: 1.035 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.6311, allocations: 35.88 kB / 1.525 GB, free: 1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.6311, allocations: 4 kB / 1.525 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003701/0.6314, allocations: 283.1 kB / 1.525 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6314, allocations: 0 / 1.525 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000579/0.632, allocations: 115.8 kB / 1.525 GB, free: 0.6094 MB / 1.217 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.0003944/0.6324, allocations: 151.1 kB / 1.525 GB, free: 460 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007125/0.6331, allocations: 281.3 kB / 1.526 GB, free: 180 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6331, allocations: 0 / 1.526 GB, free: 180 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.6334, allocations: 147.8 kB / 1.526 GB, free: 32 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.6346, allocations: 217 kB / 1.526 GB, free: 15.82 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.6362, allocations: 0.8184 MB / 1.527 GB, free: 14.96 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.6368, allocations: 0.8272 MB / 1.528 GB, free: 14.1 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003286/0.6371, allocations: 91.42 kB / 1.528 GB, free: 14.01 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.6372, allocations: 39.44 kB / 1.528 GB, free: 13.97 MB / 1.232 GB Notification: Performance of SimCode: time 4.21e-07/0.6372, allocations: 0 / 1.528 GB, free: 13.97 MB / 1.232 GB Notification: Performance of Templates: time 0.01648/0.6537, allocations: 7.707 MB / 1.535 GB, free: 6.379 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.68344561709091]