Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 106.3 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 187 kB / 17.34 MB, free: 5.73 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9323/0.934, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002695/0.9368, allocations: 1.272 MB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.9382, allocations: 0.8255 MB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.9383, allocations: 0 / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.9383, allocations: 0 / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.9384, allocations: 11.92 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.939, allocations: 123.4 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.9391, allocations: 23.92 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.9392, allocations: 3.984 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.9392, allocations: 19.92 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.774e-05/0.9393, allocations: 4 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.9393, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.9397, allocations: 175.7 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.9397, allocations: 7.922 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.9398, allocations: 11.94 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.9401, allocations: 119.5 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.9401, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9401, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9401, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005366/0.9407, allocations: 373.4 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.9407, allocations: 8.031 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.9408, allocations: 8.844 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.9409, allocations: 160.4 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.748e-05/0.941, allocations: 30.27 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.941, allocations: 384 / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.9412, allocations: 50.23 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.9412, allocations: 7.875 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.9413, allocations: 0 / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.9413, allocations: 4 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.9414, allocations: 19.98 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.9416, allocations: 157.7 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.9419, allocations: 50.55 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.9419, allocations: 12.86 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.9423, allocations: 182.3 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.9423, allocations: 30.56 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.9423, allocations: 4 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000273/0.9426, allocations: 69.55 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.9426, allocations: 55.41 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.9427, allocations: 97.84 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.9428, allocations: 33.7 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.9428, allocations: 80.14 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.9428, allocations: 7.812 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.9429, allocations: 21.7 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.943, allocations: 310.8 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.9431, allocations: 12 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.9431, allocations: 7.984 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.766e-05/0.9432, allocations: 36.78 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9432, allocations: 4 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001392/0.9434, allocations: 53.69 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.9434, allocations: 11.88 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9434, allocations: 0 / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.9434, allocations: 4 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.9435, allocations: 7.984 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.9435, allocations: 0 / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.9435, allocations: 11.84 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.9436, allocations: 4 kB / 1.213 GB, free: 8.859 MB / 0.9356 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 (4): * Single equations (assignments): 4 * 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 9.845e-05/0.9437, allocations: 109.8 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.9437, allocations: 7.938 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.9439, allocations: 65.11 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9439, allocations: 4 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.9439, allocations: 3.984 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.9439, allocations: 0 / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.9441, allocations: 153.7 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9441, allocations: 4 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.9441, allocations: 8 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.9441, allocations: 3.938 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.9441, allocations: 4 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9442, allocations: 3.984 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.9442, allocations: 0.5625 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.9443, allocations: 85.05 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.9444, allocations: 101 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.9444, allocations: 3.938 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.9445, allocations: 4 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.9445, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.9445, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.9446, allocations: 87.27 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9446, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002523/0.9449, allocations: 28 kB / 1.213 GB, free: 8.09 MB / 0.9356 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 (4): * Single equations (assignments): 4 * 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.0002643/0.9451, allocations: 143.1 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.9453, allocations: 35.86 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9453, allocations: 4 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.873e-05/0.9454, allocations: 11.98 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.9457, allocations: 9.562 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.9461, allocations: 144.9 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.9464, allocations: 0.6807 MB / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.9464, allocations: 11.44 kB / 1.214 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.9464, allocations: 0 / 1.214 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of Templates: time 0.003151/0.9496, allocations: 0.9865 MB / 1.215 GB, free: 6.004 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches