Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008524/0.0008524, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008345/0.0008345, allocations: 177.9 kB / 23.21 MB, free: 1.344 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 0.9184/0.9184, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.564/1.564, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.92e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002091/0.00212, allocations: 1.626 MB / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5973/0.5995, allocations: 133.2 MB / 1.083 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.5996, allocations: 3.938 kB / 1.083 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.5998, allocations: 16.48 kB / 1.083 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.6, allocations: 46.95 kB / 1.083 GB, free: 40.28 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.6004, allocations: 152.5 kB / 1.084 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.6006, allocations: 126.2 kB / 1.084 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.6007, allocations: 20.64 kB / 1.084 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009426/0.6017, allocations: 201.8 kB / 1.084 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.6017, allocations: 36.77 kB / 1.084 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.6018, allocations: 7.594 kB / 1.084 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.6021, allocations: 177 kB / 1.084 GB, free: 40.24 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.6021, allocations: 21.16 kB / 1.084 GB, free: 40.24 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.6022, allocations: 32.09 kB / 1.084 GB, free: 40.24 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.6025, allocations: 212.6 kB / 1.084 GB, free: 40.22 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6025, allocations: 0 / 1.084 GB, free: 40.22 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6025, allocations: 0 / 1.084 GB, free: 40.22 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.6025, allocations: 0 / 1.084 GB, free: 40.22 MB / 0.9948 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.0004518/0.603, allocations: 377.1 kB / 1.085 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.603, allocations: 8.531 kB / 1.085 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.6035, allocations: 92.66 kB / 1.085 GB, free: 39.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.6037, allocations: 148.2 kB / 1.085 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.6037, allocations: 2.438 kB / 1.085 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.6037, allocations: 9.562 kB / 1.085 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.604, allocations: 138.6 kB / 1.085 GB, free: 39.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.604, allocations: 3.938 kB / 1.085 GB, free: 39.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.604, allocations: 6.844 kB / 1.085 GB, free: 39.72 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.604, allocations: 1.203 kB / 1.085 GB, free: 39.72 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.6043, allocations: 137 kB / 1.085 GB, free: 39.72 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.6047, allocations: 325.4 kB / 1.086 GB, free: 39.51 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.6051, allocations: 178.5 kB / 1.086 GB, free: 39.47 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.6052, allocations: 68.02 kB / 1.086 GB, free: 39.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.6052, allocations: 6.812 kB / 1.086 GB, free: 39.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.6052, allocations: 40.11 kB / 1.086 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.6052, allocations: 0 / 1.086 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0004242/0.6057, allocations: 214.5 kB / 1.086 GB, free: 39.38 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.6057, allocations: 54.22 kB / 1.086 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.6058, allocations: 133.4 kB / 1.086 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.6058, allocations: 25.7 kB / 1.086 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.6058, allocations: 107.5 kB / 1.086 GB, free: 39.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.6058, allocations: 35 kB / 1.086 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.6059, allocations: 22.23 kB / 1.086 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.6059, allocations: 321.1 kB / 1.087 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.606, allocations: 53.23 kB / 1.087 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.6061, allocations: 133.1 kB / 1.087 GB, free: 38.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.6064, allocations: 121.3 kB / 1.087 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6064, allocations: 0.875 kB / 1.087 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002456/0.6066, allocations: 165.2 kB / 1.087 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6066, allocations: 5.25 kB / 1.087 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6066, allocations: 0 / 1.087 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.6066, allocations: 0 / 1.087 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.6068, allocations: 28.45 kB / 1.087 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6068, allocations: 5.203 kB / 1.087 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.6068, allocations: 22.09 kB / 1.087 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.6068, allocations: 3.562 kB / 1.087 GB, free: 38.6 MB / 0.9948 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 5.902e-05/0.6069, allocations: 122.2 kB / 1.087 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.6069, allocations: 16.66 kB / 1.087 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.607, allocations: 14.97 kB / 1.087 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.607, allocations: 3 kB / 1.087 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.607, allocations: 4 kB / 1.087 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.607, allocations: 0 / 1.087 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.6074, allocations: 390.8 kB / 1.088 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6074, allocations: 1.203 kB / 1.088 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/0.6075, allocations: 30.3 kB / 1.088 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6075, allocations: 3.938 kB / 1.088 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6075, allocations: 6.469 kB / 1.088 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6075, allocations: 0 / 1.088 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6075, allocations: 0 / 1.088 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.6078, allocations: 262.2 kB / 1.088 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.6078, allocations: 17.31 kB / 1.088 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.6078, allocations: 3.312 kB / 1.088 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.6079, allocations: 15.31 kB / 1.088 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.6079, allocations: 9.719 kB / 1.088 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.6079, allocations: 7.906 kB / 1.088 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.608, allocations: 105.4 kB / 1.088 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.608, allocations: 0 / 1.088 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001883/0.6082, allocations: 30.12 kB / 1.088 GB, free: 37.99 MB / 0.9948 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.0001524/0.6083, allocations: 113.4 kB / 1.088 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.6086, allocations: 120 kB / 1.088 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6086, allocations: 0 / 1.088 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.6087, allocations: 73.98 kB / 1.089 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.6089, allocations: 32.95 kB / 1.089 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.6094, allocations: 256.7 kB / 1.089 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.506e-05/0.6094, allocations: 85.62 kB / 1.089 GB, free: 37.63 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.6095, allocations: 17.3 kB / 1.089 GB, free: 37.63 MB / 0.9948 GB Notification: Performance of SimCode: time 5.51e-07/0.6095, allocations: 0 / 1.089 GB, free: 37.63 MB / 0.9948 GB Notification: Performance of Templates: time 0.0028/0.6123, allocations: 1.727 MB / 1.091 GB, free: 37.51 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.305166308768094]