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.001395/0.001395, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.00165/0.00165, allocations: 164.4 kB / 22.46 MB, free: 5.355 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.458/1.458, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 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 2.997/2.997, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.433e-06/1.433e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.618e-05, allocations: 6.219 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7814/0.7815, allocations: 158.4 MB / 1.155 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007426/0.7889, allocations: 7.157 MB / 1.162 GB, free: 44.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005827/0.7895, allocations: 25.47 kB / 1.162 GB, free: 44.98 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.7902, allocations: 248.2 kB / 1.162 GB, free: 44.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003187/0.7933, allocations: 1.253 MB / 1.163 GB, free: 44.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.7953, allocations: 0.7925 MB / 1.164 GB, free: 44.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.7965, allocations: 1.043 MB / 1.165 GB, free: 44.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.797, allocations: 316.6 kB / 1.165 GB, free: 44.8 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.7999, allocations: 1.152 MB / 1.167 GB, free: 44.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.8005, allocations: 387.8 kB / 1.167 GB, free: 44.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.8005, allocations: 40.66 kB / 1.167 GB, free: 44.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.8022, allocations: 0.7933 MB / 1.168 GB, free: 44.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.8024, allocations: 169.2 kB / 1.168 GB, free: 44.56 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.8026, allocations: 170 kB / 1.168 GB, free: 44.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.804, allocations: 0.9525 MB / 1.169 GB, free: 44.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.804, allocations: 0 / 1.169 GB, free: 44.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.004e-06/0.804, allocations: 0 / 1.169 GB, free: 44.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.804, allocations: 1.125 kB / 1.169 GB, free: 44.45 MB / 1.076 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.00106/0.8051, allocations: 0.7353 MB / 1.17 GB, free: 43.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.8051, allocations: 14.45 kB / 1.17 GB, free: 43.97 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.806, allocations: 156.6 kB / 1.17 GB, free: 43.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.8065, allocations: 336 kB / 1.17 GB, free: 43.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.8065, allocations: 30.47 kB / 1.17 GB, free: 43.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.8066, allocations: 38.25 kB / 1.17 GB, free: 43.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.8072, allocations: 447.1 kB / 1.171 GB, free: 43.65 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.8073, allocations: 0 / 1.171 GB, free: 43.65 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.8073, allocations: 19.78 kB / 1.171 GB, free: 43.65 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.8073, allocations: 8.375 kB / 1.171 GB, free: 43.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.8078, allocations: 318.2 kB / 1.171 GB, free: 43.65 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.8093, allocations: 1.405 MB / 1.172 GB, free: 42.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.8097, allocations: 219.1 kB / 1.173 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.8099, allocations: 137 kB / 1.173 GB, free: 42.85 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004748/0.8104, allocations: 84.75 kB / 1.173 GB, free: 42.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.8104, allocations: 38.8 kB / 1.173 GB, free: 42.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.8104, allocations: 0.7812 kB / 1.173 GB, free: 42.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=24): time 0.0009723/0.8114, allocations: 455.5 kB / 1.173 GB, free: 42.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.8114, allocations: 57.97 kB / 1.173 GB, free: 42.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.8116, allocations: 273.9 kB / 1.174 GB, free: 42.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.8117, allocations: 31.89 kB / 1.174 GB, free: 42.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.8118, allocations: 238.9 kB / 1.174 GB, free: 42.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.8119, allocations: 93.44 kB / 1.174 GB, free: 42.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.812, allocations: 53.53 kB / 1.174 GB, free: 42.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.812, allocations: 337.5 kB / 1.174 GB, free: 42.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.8122, allocations: 112.1 kB / 1.174 GB, free: 42.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.8125, allocations: 267.8 kB / 1.175 GB, free: 41.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.813, allocations: 306 kB / 1.175 GB, free: 41.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.813, allocations: 0 / 1.175 GB, free: 41.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005729/0.8136, allocations: 349.8 kB / 1.175 GB, free: 41.74 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.8136, allocations: 9.203 kB / 1.175 GB, free: 41.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8136, allocations: 3.594 kB / 1.175 GB, free: 41.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.8136, allocations: 2.719 kB / 1.175 GB, free: 41.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.8139, allocations: 66.14 kB / 1.175 GB, free: 41.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.8139, allocations: 2.906 kB / 1.175 GB, free: 41.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.8141, allocations: 33.12 kB / 1.175 GB, free: 41.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.8142, allocations: 18.09 kB / 1.175 GB, free: 41.72 MB / 1.076 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.0001587/0.8143, allocations: 164.3 kB / 1.176 GB, free: 41.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.8144, allocations: 30.12 kB / 1.176 GB, free: 41.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.8152, allocations: 365 kB / 1.176 GB, free: 41.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8152, allocations: 3.656 kB / 1.176 GB, free: 41.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8152, allocations: 4.531 kB / 1.176 GB, free: 41.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.8152, allocations: 4.734 kB / 1.176 GB, free: 41.54 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.8167, allocations: 0.8233 MB / 1.177 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.8167, allocations: 2.906 kB / 1.177 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.817, allocations: 47.09 kB / 1.177 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.817, allocations: 3.469 kB / 1.177 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.817, allocations: 10.83 kB / 1.177 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.817, allocations: 7.625 kB / 1.177 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.817, allocations: 7 kB / 1.177 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.8179, allocations: 0.6242 MB / 1.177 GB, free: 41.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.818, allocations: 60.58 kB / 1.177 GB, free: 41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.8181, allocations: 9.25 kB / 1.178 GB, free: 41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.8183, allocations: 13.48 kB / 1.178 GB, free: 41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.8184, allocations: 23.39 kB / 1.178 GB, free: 41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.8184, allocations: 10.59 kB / 1.178 GB, free: 41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001546/0.8185, allocations: 192.2 kB / 1.178 GB, free: 40.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8185, allocations: 1.938 kB / 1.178 GB, free: 40.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005069/0.819, allocations: 120.2 kB / 1.178 GB, free: 40.89 MB / 1.076 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.0002817/0.8193, allocations: 159.3 kB / 1.178 GB, free: 40.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005628/0.8199, allocations: 273.9 kB / 1.178 GB, free: 40.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8199, allocations: 1.156 kB / 1.178 GB, free: 40.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.8202, allocations: 147.5 kB / 1.178 GB, free: 40.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.8209, allocations: 130.3 kB / 1.179 GB, free: 40.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.822, allocations: 0.7616 MB / 1.179 GB, free: 40.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.8222, allocations: 224.2 kB / 1.179 GB, free: 40.31 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000225/0.8225, allocations: 83.41 kB / 1.18 GB, free: 40.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/0.8226, allocations: 33.28 kB / 1.18 GB, free: 40.29 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.8226, allocations: 0 / 1.18 GB, free: 40.29 MB / 1.076 GB Notification: Performance of Templates: time 0.01176/0.8343, allocations: 5.281 MB / 1.185 GB, free: 39.86 MB / 1.076 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/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.339287091046572]