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.001212/0.001211, 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.001303/0.001303, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.492/2.492, allocations: 390.2 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 0.8125 GB, free: 14.52 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.989/0.9904, allocations: 140.4 MB / 0.9496 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003124/0.9936, allocations: 1.489 MB / 0.951 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.9949, allocations: 0.8045 MB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.995, allocations: 1.344 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.103e-05/0.9951, allocations: 3.938 kB / 0.9518 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.9951, allocations: 9.406 kB / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.9957, allocations: 130.4 kB / 0.9519 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.9959, allocations: 58.34 kB / 0.952 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.996, allocations: 18.3 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.9961, allocations: 23.02 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.9961, allocations: 23.88 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.9961, allocations: 3.906 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.9966, allocations: 168.1 kB / 0.9522 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.9966, allocations: 18.17 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.9966, allocations: 18.08 kB / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.997, allocations: 148.5 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.9971, allocations: 5.219 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9971, allocations: 0 / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.9971, allocations: 0 / 0.9524 GB, free: 6.859 MB / 0.7169 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.0006129/0.9977, allocations: 397.7 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9977, allocations: 9.469 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.9978, allocations: 11.19 kB / 0.9528 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.9979, allocations: 166.8 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.9979, allocations: 1.875 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.9979, allocations: 14.44 kB / 0.953 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.9982, allocations: 78.58 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9982, allocations: 192 / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.9983, allocations: 3.938 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.9983, allocations: 1.625 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.9986, allocations: 69.86 kB / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.999, allocations: 286.7 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.9992, allocations: 57.62 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.9994, allocations: 42.98 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.9996, allocations: 93.58 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.9996, allocations: 31.97 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.9996, allocations: 0 / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005934/1, allocations: 139.5 kB / 0.9538 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/1, allocations: 51.41 kB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/1, allocations: 116.1 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/1, allocations: 25.7 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/1, allocations: 86.48 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/1, allocations: 17.27 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/1.001, allocations: 13.44 kB / 0.9541 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.938e-05/1.001, allocations: 324.3 kB / 0.9544 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/1.001, allocations: 33.27 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/1.001, allocations: 28.88 kB / 0.9544 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/1.001, allocations: 72.34 kB / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.001, allocations: 0 / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003622/1.002, allocations: 106.5 kB / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.002, allocations: 4.656 kB / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.002, allocations: 1.406 kB / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.002, allocations: 0 / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/1.002, allocations: 22.78 kB / 0.9546 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.002, allocations: 0 / 0.9546 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/1.002, allocations: 11.77 kB / 0.9546 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/1.002, allocations: 0 / 0.9546 GB, free: 4.734 MB / 0.7169 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 8.133e-05/1.002, allocations: 116.1 kB / 0.9547 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/1.002, allocations: 11.22 kB / 0.9548 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/1.002, allocations: 104.2 kB / 0.9549 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.002, allocations: 1.219 kB / 0.9549 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.002, allocations: 7.922 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.002, allocations: 1.062 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/1.003, allocations: 174.3 kB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.003, allocations: 0 / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/1.003, allocations: 18.91 kB / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.003, allocations: 0 / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.003, allocations: 1.344 kB / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.003, allocations: 4 kB / 0.955 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.003, allocations: 4 kB / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/1.003, allocations: 190.4 kB / 0.9552 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/1.003, allocations: 86.73 kB / 0.9553 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/1.003, allocations: 4 kB / 0.9553 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/1.003, allocations: 15.11 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/1.003, allocations: 1.375 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/1.003, allocations: 1.156 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.614e-05/1.004, allocations: 93.02 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/1.004, allocations: 3.938 kB / 0.9554 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003161/1.004, allocations: 38.55 kB / 0.9555 GB, free: 3.918 MB / 0.7169 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.0002934/1.004, allocations: 128 kB / 0.9556 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004153/1.005, allocations: 70.16 kB / 0.9557 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.005, allocations: 0 / 0.9557 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/1.005, allocations: 36.86 kB / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/1.005, allocations: 21.84 kB / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/1.006, allocations: 155.9 kB / 0.9559 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/1.006, allocations: 0.6888 MB / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.474e-05/1.006, allocations: 5.844 kB / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/1.006, allocations: 9.906 kB / 0.9565 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/1.006, allocations: 1.156 kB / 0.9565 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of Templates: time 0.004562/1.011, allocations: 1.357 MB / 0.9579 GB, free: 2.207 MB / 0.7169 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/jenkins/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