Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001378/0.001378, allocations: 110 kB / 18.93 MB, free: 2.945 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.001857/0.001857, allocations: 187.5 kB / 22.23 MB, free: 5.16 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.452/1.452, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.244/3.244, allocations: 0.4893 GB / 0.7884 GB, free: 33.15 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 66.77 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4134, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00305/0.4165, allocations: 1.663 MB / 1.318 GB, free: 8.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1966/0.6131, allocations: 152.1 MB / 1.466 GB, free: 15.36 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.6132, allocations: 4 kB / 1.466 GB, free: 15.36 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.6134, allocations: 15.8 kB / 1.466 GB, free: 15.34 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.6137, allocations: 55.64 kB / 1.466 GB, free: 15.29 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.6142, allocations: 151.4 kB / 1.466 GB, free: 15.14 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.6144, allocations: 115.6 kB / 1.466 GB, free: 15.02 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.6145, allocations: 17.59 kB / 1.466 GB, free: 15 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.616, allocations: 196.2 kB / 1.467 GB, free: 14.83 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.165e-05/0.6161, allocations: 39.78 kB / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.6161, allocations: 8 kB / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.6166, allocations: 187.6 kB / 1.467 GB, free: 14.6 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.6166, allocations: 23.91 kB / 1.467 GB, free: 14.58 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.986e-05/0.6167, allocations: 51.73 kB / 1.467 GB, free: 14.53 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.6171, allocations: 183.3 kB / 1.467 GB, free: 14.35 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6171, allocations: 0 / 1.467 GB, free: 14.35 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6171, allocations: 0 / 1.467 GB, free: 14.35 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.6171, allocations: 0 / 1.467 GB, free: 14.35 MB / 1.17 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.000724/0.6179, allocations: 373.5 kB / 1.467 GB, free: 13.95 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.6179, allocations: 16.03 kB / 1.468 GB, free: 13.94 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009711/0.6189, allocations: 79.94 kB / 1.468 GB, free: 13.86 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.6191, allocations: 149 kB / 1.468 GB, free: 13.69 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.6191, allocations: 11.98 kB / 1.468 GB, free: 13.68 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.6192, allocations: 8 kB / 1.468 GB, free: 13.67 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.6197, allocations: 137.5 kB / 1.468 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6197, allocations: 0 / 1.468 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.6197, allocations: 4 kB / 1.468 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.6197, allocations: 3.938 kB / 1.468 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/0.6203, allocations: 143.8 kB / 1.468 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.6212, allocations: 379.5 kB / 1.468 GB, free: 12.96 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007439/0.6219, allocations: 170.6 kB / 1.469 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.6222, allocations: 72.78 kB / 1.469 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.6222, allocations: 8 kB / 1.469 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.6222, allocations: 34.56 kB / 1.469 GB, free: 12.66 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.6222, allocations: 0 / 1.469 GB, free: 12.66 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0008629/0.6231, allocations: 217.4 kB / 1.469 GB, free: 12.45 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.6231, allocations: 55.39 kB / 1.469 GB, free: 12.38 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.6233, allocations: 149.1 kB / 1.469 GB, free: 12.23 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.6233, allocations: 25.7 kB / 1.469 GB, free: 12.2 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.6234, allocations: 100.1 kB / 1.469 GB, free: 12.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.6234, allocations: 31.88 kB / 1.469 GB, free: 12.06 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.6235, allocations: 21.72 kB / 1.469 GB, free: 12.04 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6237, allocations: 326.8 kB / 1.47 GB, free: 11.71 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.6239, allocations: 55.94 kB / 1.47 GB, free: 11.65 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.6241, allocations: 86.45 kB / 1.47 GB, free: 11.56 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.6246, allocations: 120.7 kB / 1.47 GB, free: 11.44 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6246, allocations: 0 / 1.47 GB, free: 11.44 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005266/0.6251, allocations: 161.5 kB / 1.47 GB, free: 11.27 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.6251, allocations: 8 kB / 1.47 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6251, allocations: 0 / 1.47 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6252, allocations: 0 / 1.47 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.6254, allocations: 27.97 kB / 1.47 GB, free: 11.24 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.6254, allocations: 0 / 1.47 GB, free: 11.24 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.6255, allocations: 23.92 kB / 1.47 GB, free: 11.21 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.6255, allocations: 4 kB / 1.47 GB, free: 11.21 MB / 1.17 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.0001122/0.6257, allocations: 121.8 kB / 1.47 GB, free: 11.08 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.6257, allocations: 7.953 kB / 1.47 GB, free: 11.07 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.6258, allocations: 16.7 kB / 1.47 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.6258, allocations: 0 / 1.47 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6258, allocations: 4 kB / 1.47 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6258, allocations: 4 kB / 1.47 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008935/0.6267, allocations: 441.8 kB / 1.471 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.6267, allocations: 4 kB / 1.471 GB, free: 10.56 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.6269, allocations: 27.97 kB / 1.471 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6269, allocations: 0 / 1.471 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.6269, allocations: 4 kB / 1.471 GB, free: 10.53 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6269, allocations: 3.938 kB / 1.471 GB, free: 10.53 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6269, allocations: 0 / 1.471 GB, free: 10.53 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.6274, allocations: 263.4 kB / 1.471 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.6275, allocations: 11.91 kB / 1.471 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.6275, allocations: 0 / 1.471 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.6277, allocations: 23.91 kB / 1.471 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.6277, allocations: 7.984 kB / 1.471 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.6277, allocations: 4 kB / 1.471 GB, free: 10.21 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.001e-05/0.6278, allocations: 117.5 kB / 1.471 GB, free: 10.09 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6278, allocations: 0 / 1.471 GB, free: 10.09 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002749/0.6281, allocations: 27.94 kB / 1.471 GB, free: 10.07 MB / 1.17 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.0001847/0.6283, allocations: 115.7 kB / 1.471 GB, free: 9.945 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005813/0.6289, allocations: 127.8 kB / 1.471 GB, free: 9.82 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6289, allocations: 4 kB / 1.471 GB, free: 9.816 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.6291, allocations: 59.94 kB / 1.471 GB, free: 9.758 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.6295, allocations: 37.8 kB / 1.471 GB, free: 9.723 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.6302, allocations: 235 kB / 1.472 GB, free: 9.469 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.6305, allocations: 0.7002 MB / 1.472 GB, free: 8.742 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.6306, allocations: 24.41 kB / 1.472 GB, free: 8.719 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.6307, allocations: 19.42 kB / 1.472 GB, free: 8.699 MB / 1.17 GB Notification: Performance of SimCode: time 3.1e-07/0.6307, allocations: 0 / 1.472 GB, free: 8.699 MB / 1.17 GB Notification: Performance of Templates: time 0.00588/0.6366, allocations: 2.011 MB / 1.474 GB, free: 6.711 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.18236196693033]