Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_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_9_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.008299/0.008299, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002022/0.002022, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.39/1.39, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.718/2.718, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 67.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.846, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002298/0.8483, allocations: 1.345 MB / 0.9509 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.8495, allocations: 0.8369 MB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.8495, allocations: 0 / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.8496, allocations: 0 / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.8496, allocations: 9.344 kB / 0.9517 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.85, allocations: 111.2 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.8501, allocations: 24.3 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.8502, allocations: 1.375 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.8502, allocations: 17.44 kB / 0.9519 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.8503, allocations: 13.47 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.8503, allocations: 5.312 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.8506, allocations: 168.2 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.8506, allocations: 9.141 kB / 0.9521 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.8507, allocations: 7.797 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.8508, allocations: 87.02 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8509, allocations: 3.938 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.8509, allocations: 0 / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.8509, allocations: 1.688 kB / 0.9522 GB, free: 7.203 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003959/0.8513, allocations: 361.9 kB / 0.9525 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.8513, allocations: 8.938 kB / 0.9525 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.8514, allocations: 4.188 kB / 0.9525 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.804e-05/0.8514, allocations: 165.4 kB / 0.9527 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.8515, allocations: 33.05 kB / 0.9527 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.8515, allocations: 1.812 kB / 0.9527 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.8517, allocations: 43.19 kB / 0.9527 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.8517, allocations: 11.88 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.8517, allocations: 0 / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.8517, allocations: 1.5 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.763e-05/0.8518, allocations: 18.33 kB / 0.9528 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.852, allocations: 165.5 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.8522, allocations: 42.95 kB / 0.953 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.8522, allocations: 19.44 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.8525, allocations: 181.1 kB / 0.9532 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.8525, allocations: 40.05 kB / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.8525, allocations: 0 / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.8528, allocations: 76.95 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.8528, allocations: 51.41 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.682e-05/0.8529, allocations: 97.8 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.8529, allocations: 26.98 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.526e-05/0.8529, allocations: 84.12 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.8529, allocations: 13.09 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.853, allocations: 13.5 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.853, allocations: 316.2 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.8531, allocations: 9.609 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/0.8531, allocations: 14.09 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.971e-05/0.8532, allocations: 25.53 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8533, allocations: 0 / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00013/0.8534, allocations: 63.61 kB / 0.954 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8534, allocations: 9.031 kB / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8534, allocations: 1.188 kB / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.8534, allocations: 0 / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.8535, allocations: 6.531 kB / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.8535, allocations: 0 / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.8535, allocations: 10.55 kB / 0.954 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.8536, allocations: 1.312 kB / 0.954 GB, free: 5.25 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 (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 4.941e-05/0.8536, allocations: 107.2 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.8536, allocations: 9.344 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.8538, allocations: 67.95 kB / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8538, allocations: 1.156 kB / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8538, allocations: 0 / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8538, allocations: 0 / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.206e-05/0.8539, allocations: 167.3 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8539, allocations: 0 / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.854, allocations: 11.05 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.854, allocations: 3.938 kB / 0.9543 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.854, allocations: 1.562 kB / 0.9543 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.854, allocations: 4 kB / 0.9543 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.854, allocations: 3.938 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.8541, allocations: 85.19 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.8542, allocations: 87.81 kB / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8542, allocations: 3.938 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.8543, allocations: 10.91 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.8543, allocations: 5.625 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.8543, allocations: 5.766 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.041e-05/0.8543, allocations: 77.84 kB / 0.9546 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8543, allocations: 0 / 0.9546 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002373/0.8546, allocations: 39.11 kB / 0.9546 GB, free: 4.555 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 (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.0002024/0.8548, allocations: 133.1 kB / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.8549, allocations: 28.09 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.855, allocations: 0 / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.992e-05/0.855, allocations: 17.75 kB / 0.9548 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.8553, allocations: 8.703 kB / 0.9548 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.8556, allocations: 153.4 kB / 0.955 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.8557, allocations: 0.6772 MB / 0.9556 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.8557, allocations: 14.94 kB / 0.9556 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.8557, allocations: 3.938 kB / 0.9557 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of Templates: time 0.002579/0.8583, allocations: 0.9784 MB / 0.9566 GB, free: 3.066 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches