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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=5000,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=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 194 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.771/2.771, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 62.83 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3344, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003007/0.3374, allocations: 1.645 MB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.5146, allocations: 151.6 MB / 1.218 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.5149, allocations: 0 / 1.218 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.5151, allocations: 15.8 kB / 1.218 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.5155, allocations: 43.72 kB / 1.218 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.5162, allocations: 147.4 kB / 1.218 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.5165, allocations: 123.6 kB / 1.218 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.5167, allocations: 25.67 kB / 1.218 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.5183, allocations: 181.1 kB / 1.218 GB, free: 180 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.5184, allocations: 47.72 kB / 1.218 GB, free: 132 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.5184, allocations: 8 kB / 1.218 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006062/0.519, allocations: 175.8 kB / 1.219 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.5191, allocations: 23.92 kB / 1.219 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.5192, allocations: 47.73 kB / 1.219 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.5197, allocations: 183.4 kB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5197, allocations: 3.984 kB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.687e-06/0.5197, allocations: 0 / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.5197, allocations: 3.938 kB / 1.219 GB, free: 15.69 MB / 0.9825 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.0008755/0.5206, allocations: 446.9 kB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.5207, allocations: 12.03 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.522, allocations: 83.88 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.5222, allocations: 202.8 kB / 1.219 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.5223, allocations: 4 kB / 1.219 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.5223, allocations: 8 kB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.5229, allocations: 133.6 kB / 1.22 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5229, allocations: 4 kB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.5229, allocations: 0 / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.5229, allocations: 7.938 kB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/0.5237, allocations: 139.8 kB / 1.22 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.5248, allocations: 412.4 kB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.5258, allocations: 251.7 kB / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.5261, allocations: 80.8 kB / 1.22 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.5262, allocations: 0 / 1.22 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.5262, allocations: 34.56 kB / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.5262, allocations: 0 / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001035/0.5272, allocations: 217.3 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.5273, allocations: 55.39 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.5275, allocations: 145.1 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.5275, allocations: 33.7 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.5276, allocations: 108.2 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.5277, allocations: 23.61 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.5278, allocations: 25.7 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5279, allocations: 326.8 kB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.5283, allocations: 51.94 kB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.5286, allocations: 78.52 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.5292, allocations: 117.3 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5292, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006912/0.5299, allocations: 161.4 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5299, allocations: 8 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.53, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.53, allocations: 4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.5303, allocations: 31.91 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5303, allocations: 0 / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.5305, allocations: 19.92 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.5305, allocations: 7.984 kB / 1.222 GB, free: 12.27 MB / 0.9825 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.0001165/0.5306, allocations: 119.5 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.5307, allocations: 11.81 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.88e-05/0.5308, allocations: 24.7 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.5308, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5308, allocations: 3.938 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5308, allocations: 3.938 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.5319, allocations: 462.4 kB / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5319, allocations: 0 / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.5322, allocations: 27.97 kB / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5322, allocations: 0 / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.5322, allocations: 4 kB / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.5322, allocations: 7.938 kB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5323, allocations: 4 kB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007728/0.533, allocations: 259.2 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.5331, allocations: 88.95 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.5332, allocations: 8 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.5334, allocations: 19.91 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.5335, allocations: 7.984 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.5335, allocations: 7.984 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001072/0.5336, allocations: 114.1 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5336, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000447/0.5341, allocations: 28 kB / 1.223 GB, free: 10.99 MB / 0.9825 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.0002803/0.5344, allocations: 115.8 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006703/0.5351, allocations: 123.8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5351, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.5354, allocations: 71.88 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.5359, allocations: 36.45 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.5367, allocations: 239 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.5371, allocations: 0.7041 MB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.5374, allocations: 20.42 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.5375, allocations: 19.42 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.5375, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of Templates: time 0.005946/0.5434, allocations: 1.946 MB / 1.226 GB, free: 7.695 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) 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) Reference file matches