Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001456/0.001456, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001615/0.001615, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.459/1.459, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.829/2.829, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.06e-05, allocations: 6.297 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.004195/0.004225, allocations: 1.63 MB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2164/0.2206, allocations: 133.2 MB / 0.9425 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2207, allocations: 7.938 kB / 0.9425 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.2209, allocations: 15.8 kB / 0.9425 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.2213, allocations: 39.72 kB / 0.9425 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.2218, allocations: 155.2 kB / 0.9427 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.222, allocations: 127.5 kB / 0.9428 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2222, allocations: 29.5 kB / 0.9428 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.224, allocations: 246.7 kB / 0.9431 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.2241, allocations: 31.91 kB / 0.9431 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.2241, allocations: 8 kB / 0.9431 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.2245, allocations: 183.5 kB / 0.9433 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.2246, allocations: 19.92 kB / 0.9433 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.2247, allocations: 31.92 kB / 0.9433 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.2252, allocations: 211.3 kB / 0.9435 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2252, allocations: 0 / 0.9435 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2252, allocations: 0 / 0.9435 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2252, allocations: 0 / 0.9435 GB, free: 9.805 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007995/0.226, allocations: 373.5 kB / 0.9439 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.226, allocations: 8.031 kB / 0.9439 GB, free: 9.402 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.2272, allocations: 115.7 kB / 0.944 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.2275, allocations: 141 kB / 0.9441 GB, free: 9.125 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.2275, allocations: 8 kB / 0.9441 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.2275, allocations: 12 kB / 0.9442 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.2281, allocations: 148.3 kB / 0.9443 GB, free: 8.957 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2281, allocations: 4 kB / 0.9443 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.2281, allocations: 0 / 0.9443 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2281, allocations: 0 / 0.9443 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.2287, allocations: 139.9 kB / 0.9444 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.2296, allocations: 332.2 kB / 0.9447 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007813/0.2304, allocations: 166.6 kB / 0.9449 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.2307, allocations: 76.73 kB / 0.945 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.2307, allocations: 0 / 0.945 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.2307, allocations: 42.5 kB / 0.945 GB, free: 8.16 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2308, allocations: 0 / 0.945 GB, free: 8.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.0009396/0.2317, allocations: 209.5 kB / 0.9452 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.2317, allocations: 55.41 kB / 0.9453 GB, free: 7.883 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2319, allocations: 136.2 kB / 0.9454 GB, free: 7.742 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.2319, allocations: 29.7 kB / 0.9454 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.232, allocations: 104.1 kB / 0.9455 GB, free: 7.602 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.2321, allocations: 31.88 kB / 0.9456 GB, free: 7.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.2321, allocations: 25.7 kB / 0.9456 GB, free: 7.539 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2323, allocations: 318.8 kB / 0.9459 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.2326, allocations: 51.94 kB / 0.9459 GB, free: 7.168 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.2329, allocations: 137.9 kB / 0.9461 GB, free: 7.012 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.2333, allocations: 117.3 kB / 0.9462 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.2333, allocations: 3.984 kB / 0.9462 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000578/0.2339, allocations: 165.5 kB / 0.9463 GB, free: 6.723 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2339, allocations: 4 kB / 0.9463 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2339, allocations: 0 / 0.9463 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.234, allocations: 4 kB / 0.9464 GB, free: 6.715 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.2342, allocations: 31.91 kB / 0.9464 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2342, allocations: 0 / 0.9464 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.2344, allocations: 23.91 kB / 0.9464 GB, free: 6.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.2344, allocations: 0 / 0.9464 GB, free: 6.66 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001212/0.2345, allocations: 121.8 kB / 0.9465 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.2346, allocations: 23.83 kB / 0.9465 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/0.2346, allocations: 12.78 kB / 0.9466 GB, free: 6.492 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2346, allocations: 0 / 0.9466 GB, free: 6.492 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2346, allocations: 0 / 0.9466 GB, free: 6.492 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2346, allocations: 0 / 0.9466 GB, free: 6.492 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009865/0.2356, allocations: 413.8 kB / 0.947 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2356, allocations: 0 / 0.947 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.2358, allocations: 31.95 kB / 0.947 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2358, allocations: 0 / 0.947 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2358, allocations: 3.984 kB / 0.947 GB, free: 6.016 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2358, allocations: 0 / 0.947 GB, free: 6.016 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2358, allocations: 4 kB / 0.947 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.2365, allocations: 267.2 kB / 0.9472 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.2365, allocations: 11.91 kB / 0.9473 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.2365, allocations: 0 / 0.9473 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.2367, allocations: 19.98 kB / 0.9473 GB, free: 5.703 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.2368, allocations: 7.984 kB / 0.9473 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2368, allocations: 0 / 0.9473 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.403e-05/0.2369, allocations: 107.2 kB / 0.9474 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.2369, allocations: 0 / 0.9474 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003066/0.2372, allocations: 31.94 kB / 0.9474 GB, free: 5.559 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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.0002252/0.2374, allocations: 111.2 kB / 0.9475 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005696/0.238, allocations: 119.9 kB / 0.9476 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.238, allocations: 3.938 kB / 0.9476 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.2383, allocations: 63.94 kB / 0.9477 GB, free: 5.258 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.2387, allocations: 52.38 kB / 0.9478 GB, free: 5.207 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.2393, allocations: 227 kB / 0.948 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2394, allocations: 88.31 kB / 0.9481 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.2396, allocations: 20.72 kB / 0.9481 GB, free: 4.836 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.2396, allocations: 28.36 kB / 0.9481 GB, free: 4.809 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.2396, allocations: 0 / 0.9481 GB, free: 4.809 MB / 0.9011 GB Notification: Performance of Templates: time 0.006034/0.2457, allocations: 2.019 MB / 0.9501 GB, free: 2.848 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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: 7.820675911032595]