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.0009369/0.0009369, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008437/0.0008437, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.9214/0.9214, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.768/1.768, allocations: 377.9 MB / 0.6228 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] 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.824e-06/1.824e-06, allocations: 0 / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.217e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002316/0.002349, allocations: 1.634 MB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.6119/0.6142, allocations: 133.2 MB / 1.114 GB, free: 21.88 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.6144, allocations: 1.156 kB / 1.114 GB, free: 21.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.6145, allocations: 20.12 kB / 1.114 GB, free: 21.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.6148, allocations: 53.19 kB / 1.114 GB, free: 21.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.6152, allocations: 146.3 kB / 1.114 GB, free: 21.76 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.6154, allocations: 130.2 kB / 1.114 GB, free: 21.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.6155, allocations: 23.66 kB / 1.114 GB, free: 21.68 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009103/0.6164, allocations: 195.6 kB / 1.114 GB, free: 21.64 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.6165, allocations: 37.69 kB / 1.114 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.6165, allocations: 10.97 kB / 1.114 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.6169, allocations: 171.7 kB / 1.115 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.6169, allocations: 25.16 kB / 1.115 GB, free: 21.56 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.6169, allocations: 29.34 kB / 1.115 GB, free: 21.55 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.6173, allocations: 207.6 kB / 1.115 GB, free: 21.47 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6173, allocations: 2.344 kB / 1.115 GB, free: 21.47 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6173, allocations: 0.6094 kB / 1.115 GB, free: 21.47 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.6173, allocations: 4.938 kB / 1.115 GB, free: 21.47 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.0004543/0.6178, allocations: 375.5 kB / 1.115 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.6178, allocations: 9.312 kB / 1.115 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.6184, allocations: 91.73 kB / 1.115 GB, free: 21.13 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.6186, allocations: 152.6 kB / 1.115 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.6186, allocations: 3.375 kB / 1.115 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.6186, allocations: 9.438 kB / 1.115 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.6189, allocations: 134.5 kB / 1.116 GB, free: 20.92 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6189, allocations: 0 / 1.116 GB, free: 20.92 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.6189, allocations: 0.5625 kB / 1.116 GB, free: 20.92 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.6189, allocations: 6.656 kB / 1.116 GB, free: 20.92 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.6192, allocations: 134.6 kB / 1.116 GB, free: 20.89 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.6197, allocations: 348.9 kB / 1.116 GB, free: 20.62 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.6201, allocations: 167.5 kB / 1.116 GB, free: 20.56 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.6203, allocations: 68.83 kB / 1.116 GB, free: 20.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.6203, allocations: 9.094 kB / 1.116 GB, free: 20.54 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.6203, allocations: 32.64 kB / 1.116 GB, free: 20.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.6203, allocations: 0 / 1.116 GB, free: 20.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0004788/0.6208, allocations: 213.9 kB / 1.117 GB, free: 20.42 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.6208, allocations: 53.73 kB / 1.117 GB, free: 20.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.6209, allocations: 135.2 kB / 1.117 GB, free: 20.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.6209, allocations: 31.05 kB / 1.117 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.6209, allocations: 107.8 kB / 1.117 GB, free: 20.11 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.621, allocations: 26.92 kB / 1.117 GB, free: 20.09 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.621, allocations: 27.55 kB / 1.117 GB, free: 20.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.374e-05/0.621, allocations: 320.6 kB / 1.117 GB, free: 19.75 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.6212, allocations: 51.42 kB / 1.117 GB, free: 19.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.6213, allocations: 139 kB / 1.117 GB, free: 19.64 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.6215, allocations: 115.7 kB / 1.117 GB, free: 19.61 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6215, allocations: 0 / 1.117 GB, free: 19.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002752/0.6218, allocations: 163.2 kB / 1.118 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.6218, allocations: 8.75 kB / 1.118 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6218, allocations: 0 / 1.118 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6219, allocations: 1.719 kB / 1.118 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.622, allocations: 32.89 kB / 1.118 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.622, allocations: 2.938 kB / 1.118 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.6221, allocations: 19 kB / 1.118 GB, free: 19.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.6221, allocations: 3.609 kB / 1.118 GB, free: 19.53 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 6.089e-05/0.6221, allocations: 119.8 kB / 1.118 GB, free: 19.41 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.6222, allocations: 16.88 kB / 1.118 GB, free: 19.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.6222, allocations: 21.41 kB / 1.118 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.6222, allocations: 0 / 1.118 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6222, allocations: 7 kB / 1.118 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.6222, allocations: 0.6094 kB / 1.118 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.6227, allocations: 391.9 kB / 1.118 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6227, allocations: 0 / 1.118 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.6228, allocations: 30.91 kB / 1.118 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6228, allocations: 1.438 kB / 1.118 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.6228, allocations: 2.734 kB / 1.118 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6228, allocations: 0 / 1.118 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6228, allocations: 0 / 1.118 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.6231, allocations: 261.6 kB / 1.119 GB, free: 18.92 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.6231, allocations: 18.66 kB / 1.119 GB, free: 18.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.6231, allocations: 1.156 kB / 1.119 GB, free: 18.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.6232, allocations: 19.05 kB / 1.119 GB, free: 18.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.6232, allocations: 14.09 kB / 1.119 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.6233, allocations: 3.547 kB / 1.119 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.6233, allocations: 106.2 kB / 1.119 GB, free: 18.81 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6233, allocations: 0 / 1.119 GB, free: 18.81 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002/0.6235, allocations: 27.83 kB / 1.119 GB, free: 18.81 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.0001523/0.6237, allocations: 117.7 kB / 1.119 GB, free: 18.71 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.624, allocations: 118.1 kB / 1.119 GB, free: 18.69 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.624, allocations: 0 / 1.119 GB, free: 18.69 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.6241, allocations: 74.05 kB / 1.119 GB, free: 18.67 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.6243, allocations: 27.45 kB / 1.119 GB, free: 18.66 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.6248, allocations: 257.4 kB / 1.119 GB, free: 18.47 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.085e-05/0.6248, allocations: 86.14 kB / 1.119 GB, free: 18.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.461e-05/0.6249, allocations: 17.72 kB / 1.119 GB, free: 18.4 MB / 0.9948 GB Notification: Performance of SimCode: time 3.81e-07/0.6249, allocations: 1.062 kB / 1.119 GB, free: 18.4 MB / 0.9948 GB Notification: Performance of Templates: time 0.003078/0.628, allocations: 1.722 MB / 1.121 GB, free: 18.27 MB / 0.9948 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: 7.571862977929413]