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.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.001788/0.001788, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001996/0.001996, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.452/3.452, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.483e-06/1.483e-06, allocations: 0 / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.904e-05, allocations: 3.656 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2559/0.2559, allocations: 176 MB / 1.049 GB, free: 6.004 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.4787/0.7346, allocations: 8.039 MB / 1.057 GB, free: 47.65 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005915/0.7352, allocations: 28.03 kB / 1.057 GB, free: 47.65 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.7359, allocations: 250.5 kB / 1.057 GB, free: 47.65 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.7389, allocations: 1.257 MB / 1.059 GB, free: 47.65 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.7406, allocations: 0.7851 MB / 1.059 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.7417, allocations: 1.054 MB / 1.061 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/0.7423, allocations: 333.5 kB / 1.061 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.7453, allocations: 1.184 MB / 1.062 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006422/0.746, allocations: 392.4 kB / 1.062 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.746, allocations: 40.11 kB / 1.062 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.7474, allocations: 0.7965 MB / 1.063 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.7475, allocations: 174.5 kB / 1.063 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.7477, allocations: 175.2 kB / 1.064 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.7489, allocations: 0.9542 MB / 1.064 GB, free: 47.52 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.749, allocations: 0.9375 kB / 1.064 GB, free: 47.52 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.233e-06/0.749, allocations: 0 / 1.064 GB, free: 47.52 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.749, allocations: 0 / 1.064 GB, free: 47.52 MB / 1.01 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.0009896/0.7499, allocations: 0.8598 MB / 1.065 GB, free: 46.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.75, allocations: 11.47 kB / 1.065 GB, free: 46.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009232/0.7509, allocations: 205.2 kB / 1.065 GB, free: 46.91 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.7514, allocations: 346.2 kB / 1.066 GB, free: 46.74 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.7515, allocations: 33.47 kB / 1.066 GB, free: 46.74 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.7515, allocations: 40.78 kB / 1.066 GB, free: 46.74 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.7521, allocations: 420.8 kB / 1.066 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.7521, allocations: 2.141 kB / 1.066 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.7521, allocations: 14.56 kB / 1.066 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.7521, allocations: 10.94 kB / 1.066 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.7526, allocations: 235.1 kB / 1.067 GB, free: 46.62 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.7542, allocations: 1.789 MB / 1.068 GB, free: 45.52 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.7545, allocations: 186.2 kB / 1.068 GB, free: 45.48 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.7547, allocations: 100.2 kB / 1.069 GB, free: 45.47 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/0.7551, allocations: 74.8 kB / 1.069 GB, free: 45.47 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.7551, allocations: 36.23 kB / 1.069 GB, free: 45.43 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.7551, allocations: 4.094 kB / 1.069 GB, free: 45.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0007716/0.7559, allocations: 362.1 kB / 1.069 GB, free: 45.38 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.7559, allocations: 54.44 kB / 1.069 GB, free: 45.31 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.7561, allocations: 368.1 kB / 1.069 GB, free: 45.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.7562, allocations: 33.67 kB / 1.069 GB, free: 45.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.7563, allocations: 298.4 kB / 1.07 GB, free: 44.91 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.7563, allocations: 90.02 kB / 1.07 GB, free: 44.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.7564, allocations: 70.92 kB / 1.07 GB, free: 44.83 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.7565, allocations: 0.5255 MB / 1.07 GB, free: 44.34 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.7566, allocations: 84.53 kB / 1.07 GB, free: 44.34 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.7568, allocations: 249.5 kB / 1.071 GB, free: 44.15 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.7572, allocations: 268.4 kB / 1.071 GB, free: 44.05 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7572, allocations: 2.5 kB / 1.071 GB, free: 44.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004494/0.7576, allocations: 305.1 kB / 1.071 GB, free: 44 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.7576, allocations: 7.812 kB / 1.071 GB, free: 44 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7577, allocations: 4.312 kB / 1.071 GB, free: 44 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7577, allocations: 3.438 kB / 1.071 GB, free: 44 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.758, allocations: 54.25 kB / 1.071 GB, free: 44 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.758, allocations: 6.047 kB / 1.071 GB, free: 44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.7582, allocations: 28.31 kB / 1.071 GB, free: 43.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.7582, allocations: 11 kB / 1.071 GB, free: 43.99 MB / 1.01 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.0001226/0.7583, allocations: 203.8 kB / 1.072 GB, free: 43.83 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.7584, allocations: 39.09 kB / 1.072 GB, free: 43.81 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.7589, allocations: 301 kB / 1.072 GB, free: 43.76 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.7589, allocations: 3.844 kB / 1.072 GB, free: 43.76 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7589, allocations: 0 / 1.072 GB, free: 43.76 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.7589, allocations: 4.312 kB / 1.072 GB, free: 43.76 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.76, allocations: 0.862 MB / 1.073 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.76, allocations: 3.719 kB / 1.073 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.7602, allocations: 43.42 kB / 1.073 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7602, allocations: 3.781 kB / 1.073 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.7603, allocations: 9.594 kB / 1.073 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.7603, allocations: 12.8 kB / 1.073 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7603, allocations: 3.594 kB / 1.073 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.7609, allocations: 0.572 MB / 1.073 GB, free: 43.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.761, allocations: 63.25 kB / 1.073 GB, free: 43.07 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.7611, allocations: 10.5 kB / 1.073 GB, free: 43.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.7612, allocations: 10.83 kB / 1.073 GB, free: 43.06 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.7613, allocations: 25.31 kB / 1.073 GB, free: 43.06 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.7613, allocations: 11.5 kB / 1.074 GB, free: 43.06 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001426/0.7615, allocations: 245 kB / 1.074 GB, free: 42.94 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7615, allocations: 0 / 1.074 GB, free: 42.94 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000453/0.7619, allocations: 125.7 kB / 1.074 GB, free: 42.93 MB / 1.01 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.000261/0.7622, allocations: 155.9 kB / 1.074 GB, free: 42.84 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.7626, allocations: 241 kB / 1.074 GB, free: 42.82 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7626, allocations: 1.094 kB / 1.074 GB, free: 42.82 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.7628, allocations: 130.8 kB / 1.074 GB, free: 42.81 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/0.7635, allocations: 135.4 kB / 1.074 GB, free: 42.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.7646, allocations: 0.7747 MB / 1.075 GB, free: 42.37 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.7648, allocations: 224 kB / 1.075 GB, free: 42.29 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002118/0.765, allocations: 66.12 kB / 1.076 GB, free: 42.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.7651, allocations: 29.44 kB / 1.076 GB, free: 42.28 MB / 1.01 GB Notification: Performance of SimCode: time 5.31e-07/0.7651, allocations: 0 / 1.076 GB, free: 42.28 MB / 1.01 GB Notification: Performance of Templates: time 0.01009/0.7751, allocations: 5.509 MB / 1.081 GB, free: 41.91 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.531260721036233]