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.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.001783/0.001783, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.00204/0.00204, allocations: 189.3 kB / 22.1 MB, free: 4.23 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.484/1.484, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.953/2.953, allocations: 495.8 MB / 0.7831 GB, free: 12.29 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-maint.12.x/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_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 0.002096/0.002096, allocations: 63.91 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9984/1, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002408/1.003, allocations: 1.659 MB / 1.308 GB, free: 32.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1954/1.198, allocations: 150.4 MB / 1.455 GB, free: 3.746 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/1.198, allocations: 5.125 kB / 1.455 GB, free: 3.742 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/1.199, allocations: 20.55 kB / 1.455 GB, free: 3.727 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/1.199, allocations: 38.67 kB / 1.455 GB, free: 3.703 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/1.199, allocations: 146.1 kB / 1.455 GB, free: 3.633 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/1.2, allocations: 118.9 kB / 1.456 GB, free: 3.578 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/1.2, allocations: 28.53 kB / 1.456 GB, free: 3.559 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/1.201, allocations: 184.1 kB / 1.456 GB, free: 3.5 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/1.201, allocations: 48.34 kB / 1.456 GB, free: 3.473 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/1.201, allocations: 10.75 kB / 1.456 GB, free: 3.469 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/1.202, allocations: 169.7 kB / 1.456 GB, free: 3.426 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/1.202, allocations: 20.94 kB / 1.456 GB, free: 3.414 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/1.202, allocations: 49.27 kB / 1.456 GB, free: 3.383 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/1.202, allocations: 186.3 kB / 1.456 GB, free: 3.316 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.202, allocations: 6.391 kB / 1.456 GB, free: 3.312 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.683e-06/1.202, allocations: 0 / 1.456 GB, free: 3.312 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.186e-05/1.202, allocations: 0 / 1.456 GB, free: 3.312 MB / 1.139 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.000714/1.203, allocations: 375.5 kB / 1.457 GB, free: 2.984 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/1.203, allocations: 8.75 kB / 1.457 GB, free: 2.984 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009412/1.204, allocations: 82.62 kB / 1.457 GB, free: 2.973 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/1.204, allocations: 150.1 kB / 1.457 GB, free: 2.824 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/1.204, allocations: 4 kB / 1.457 GB, free: 2.824 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/1.204, allocations: 9.25 kB / 1.457 GB, free: 2.82 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/1.205, allocations: 133.9 kB / 1.457 GB, free: 2.766 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.205, allocations: 9.406 kB / 1.457 GB, free: 2.758 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/1.205, allocations: 4 kB / 1.457 GB, free: 2.754 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/1.205, allocations: 10.94 kB / 1.457 GB, free: 2.746 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/1.206, allocations: 134.6 kB / 1.457 GB, free: 2.719 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/1.206, allocations: 377.7 kB / 1.457 GB, free: 2.422 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/1.207, allocations: 170.2 kB / 1.458 GB, free: 2.359 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/1.207, allocations: 76.77 kB / 1.458 GB, free: 2.332 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/1.208, allocations: 1.656 kB / 1.458 GB, free: 2.332 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.208, allocations: 32.48 kB / 1.458 GB, free: 2.293 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 4.849e-06/1.208, allocations: 3.984 kB / 1.458 GB, free: 2.289 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.0009343/1.208, allocations: 221.5 kB / 1.458 GB, free: 2.207 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/1.209, allocations: 53.11 kB / 1.458 GB, free: 2.145 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/1.209, allocations: 144.1 kB / 1.458 GB, free: 2.035 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/1.209, allocations: 34.7 kB / 1.458 GB, free: 1.996 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/1.209, allocations: 101 kB / 1.458 GB, free: 1.902 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/1.209, allocations: 32.64 kB / 1.458 GB, free: 1.875 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/1.209, allocations: 24.42 kB / 1.458 GB, free: 1.855 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.209, allocations: 324.2 kB / 1.459 GB, free: 1.535 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/1.209, allocations: 50.84 kB / 1.459 GB, free: 1.527 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/1.21, allocations: 83.98 kB / 1.459 GB, free: 1.484 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/1.21, allocations: 122.4 kB / 1.459 GB, free: 1.445 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.21, allocations: 1.156 kB / 1.459 GB, free: 1.445 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005624/1.211, allocations: 154.3 kB / 1.459 GB, free: 1.387 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.211, allocations: 5.062 kB / 1.459 GB, free: 1.387 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.211, allocations: 0.6094 kB / 1.459 GB, free: 1.387 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.211, allocations: 8.844 kB / 1.459 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/1.211, allocations: 27.73 kB / 1.459 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.211, allocations: 0.7031 kB / 1.459 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/1.211, allocations: 27.52 kB / 1.459 GB, free: 1.367 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/1.211, allocations: 2.547 kB / 1.459 GB, free: 1.367 MB / 1.139 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.0001181/1.211, allocations: 132.6 kB / 1.459 GB, free: 1.234 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/1.211, allocations: 12.48 kB / 1.459 GB, free: 1.227 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.028e-05/1.211, allocations: 18.11 kB / 1.459 GB, free: 1.211 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.211, allocations: 0.6094 kB / 1.459 GB, free: 1.211 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.211, allocations: 1.031 kB / 1.459 GB, free: 1.211 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.211, allocations: 0.7031 kB / 1.459 GB, free: 1.211 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009643/1.212, allocations: 432.2 kB / 1.46 GB, free: 0.8906 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.212, allocations: 0 / 1.46 GB, free: 0.8906 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/1.213, allocations: 32.19 kB / 1.46 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.213, allocations: 3.938 kB / 1.46 GB, free: 0.8828 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/1.213, allocations: 2.688 kB / 1.46 GB, free: 0.8828 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.213, allocations: 5.094 kB / 1.46 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.213, allocations: 4 kB / 1.46 GB, free: 0.875 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/1.213, allocations: 256.1 kB / 1.46 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/1.213, allocations: 11.5 kB / 1.46 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/1.213, allocations: 9.609 kB / 1.46 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.213, allocations: 18.14 kB / 1.46 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/1.213, allocations: 10.66 kB / 1.46 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.213, allocations: 2.578 kB / 1.46 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of sorting global known variables: time 9.512e-05/1.214, allocations: 111.7 kB / 1.46 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/1.214, allocations: 0 / 1.46 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002924/1.214, allocations: 32.5 kB / 1.46 GB, free: 0.5977 MB / 1.139 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.0001993/1.214, allocations: 115.9 kB / 1.46 GB, free: 0.5 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000569/1.215, allocations: 118 kB / 1.46 GB, free: 492 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.215, allocations: 0 / 1.46 GB, free: 492 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/1.215, allocations: 72.05 kB / 1.46 GB, free: 472 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/1.215, allocations: 36.36 kB / 1.46 GB, free: 456 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/1.216, allocations: 246.3 kB / 1.461 GB, free: 276 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/1.216, allocations: 0.6993 MB / 1.461 GB, free: 15.57 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001369/1.216, allocations: 30.3 kB / 1.461 GB, free: 15.56 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/1.217, allocations: 15.22 kB / 1.461 GB, free: 15.55 MB / 1.154 GB Notification: Performance of SimCode: time 5.01e-07/1.217, allocations: 0 / 1.461 GB, free: 15.55 MB / 1.154 GB Notification: Performance of Templates: time 0.006241/1.223, allocations: 1.994 MB / 1.463 GB, free: 15.4 MB / 1.154 GB " [Timeout remaining time 299] 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: 9.451019418425858]