Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008499/0.0008499, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001067/0.001067, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.851/2.851, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005695/0.0005696, allocations: 12 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9021/0.9027, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001645/0.9044, allocations: 1.203 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.9056, allocations: 0.7569 MB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.9056, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.9056, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.9057, allocations: 11.92 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.9062, allocations: 107.5 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.9063, allocations: 51.84 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.9065, allocations: 11.94 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.9065, allocations: 15.98 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.9066, allocations: 19.92 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.9066, allocations: 3.938 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.9069, allocations: 167.8 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.907, allocations: 11.94 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.907, allocations: 29.7 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.9072, allocations: 117.7 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9072, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9072, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.9072, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 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.0005617/0.9078, allocations: 395.1 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.9078, allocations: 12.56 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.9079, allocations: 7.938 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.908, allocations: 178.9 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.9081, allocations: 3.953 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.9081, allocations: 4 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.9084, allocations: 85.64 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9084, allocations: 3.984 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.9084, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.9084, allocations: 4 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.9088, allocations: 91.92 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.9092, allocations: 276.7 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.9094, allocations: 74.53 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.9096, allocations: 52.91 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.9098, allocations: 89.09 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.9098, allocations: 30.56 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.9098, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005285/0.9103, allocations: 165.5 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.9104, allocations: 51.41 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.9105, allocations: 121.8 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.9105, allocations: 25.7 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.9106, allocations: 92.14 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.9106, allocations: 15.81 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.9106, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9108, allocations: 326.8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.9109, allocations: 43.97 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.9111, allocations: 39.95 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.9112, allocations: 39.97 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.9112, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003098/0.9115, allocations: 125.6 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.9116, allocations: 8 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9116, allocations: 4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.9116, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.9117, allocations: 23.97 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.9117, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.9118, allocations: 15.98 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.9118, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.9119, allocations: 121.8 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.912, allocations: 3.906 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.9123, allocations: 129.5 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.9123, allocations: 7.922 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9123, allocations: 0 / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.9124, allocations: 0 / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.9126, allocations: 173.6 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9126, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.9127, allocations: 27.97 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9127, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.9127, allocations: 384 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9127, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9127, allocations: 3.984 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.9131, allocations: 219.3 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.9131, allocations: 89.03 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.9132, allocations: 4 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.9133, allocations: 23.98 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.9133, allocations: 3.938 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.9134, allocations: 7.984 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.9134, allocations: 87.28 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9134, allocations: 0 / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002801/0.9137, allocations: 39.92 kB / 1.028 GB, free: 9.879 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002575/0.914, allocations: 131.2 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.9143, allocations: 87.92 kB / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9143, allocations: 0 / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.9145, allocations: 51.89 kB / 1.028 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.9148, allocations: 15.95 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.9152, allocations: 162.5 kB / 1.028 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.9156, allocations: 0.6809 MB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.9156, allocations: 8 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.9156, allocations: 7.438 kB / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.9156, allocations: 0 / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.004041/0.9197, allocations: 1.194 MB / 1.03 GB, free: 7.496 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches