Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001548/0.001548, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9281/0.9297, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003336/0.9331, allocations: 1.484 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.9346, allocations: 0.8025 MB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.9347, allocations: 0.7812 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.9347, allocations: 5.344 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.9348, allocations: 14.62 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.9354, allocations: 134.2 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.9355, allocations: 55.28 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.9357, allocations: 14.06 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.9357, allocations: 18.55 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.9358, allocations: 29.53 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.9358, allocations: 3.312 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.9363, allocations: 173.3 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.9363, allocations: 7.453 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.9363, allocations: 24.66 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.9367, allocations: 150.6 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9367, allocations: 0 / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9367, allocations: 0 / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.9367, allocations: 0 / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006463/0.9374, allocations: 398.1 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.9374, allocations: 8.969 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.9375, allocations: 7.844 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.9376, allocations: 181.7 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.9376, allocations: 1.25 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.9376, allocations: 2.969 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.9379, allocations: 71.66 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9379, allocations: 5 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.938, allocations: 7.938 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.938, allocations: 5.5 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.9383, allocations: 65.75 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.9387, allocations: 286.3 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.9389, allocations: 62.98 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.9391, allocations: 37.52 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.9393, allocations: 89.09 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.9393, allocations: 40.64 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.9393, allocations: 0 / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005415/0.9399, allocations: 130.2 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.9399, allocations: 52.19 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.94, allocations: 117.2 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.94, allocations: 29.7 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.9401, allocations: 88.09 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.9401, allocations: 14.55 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.9401, allocations: 16.98 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.9402, allocations: 319.6 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.9403, allocations: 30.16 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.9405, allocations: 39.42 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.9407, allocations: 66.94 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9407, allocations: 0 / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002935/0.941, allocations: 102.9 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.9411, allocations: 6.891 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.9411, allocations: 0 / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.9411, allocations: 0.9375 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.9412, allocations: 15.55 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.9412, allocations: 0.5625 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.9413, allocations: 15.36 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.9413, allocations: 0.9375 kB / 1.094 GB, free: 1.766 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.228e-05/0.9414, allocations: 117 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.9414, allocations: 7.609 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.9418, allocations: 109.5 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.9418, allocations: 0 / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9418, allocations: 1.516 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9418, allocations: 3.938 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.9419, allocations: 177.2 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9419, allocations: 0.75 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.672e-05/0.942, allocations: 16.94 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.942, allocations: 0 / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.9421, allocations: 0 / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9421, allocations: 1.891 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9421, allocations: 0 / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.9424, allocations: 203 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.9424, allocations: 83.17 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.9425, allocations: 1.391 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.9426, allocations: 15.92 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.9426, allocations: 11 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.9426, allocations: 2.078 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.9427, allocations: 95.8 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9427, allocations: 0 / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002734/0.943, allocations: 31.8 kB / 1.094 GB, free: 1.023 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.0002036/0.9432, allocations: 130.4 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.9435, allocations: 71.75 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9435, allocations: 0 / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.9437, allocations: 38.5 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.944, allocations: 19.69 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.9443, allocations: 175.7 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.9444, allocations: 0.6859 MB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.9445, allocations: 14.81 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.9445, allocations: 0 / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of Templates: time 0.003658/0.9481, allocations: 1.209 MB / 1.097 GB, free: 15.92 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches