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.0009738/0.0009738, allocations: 99.03 kB / 16.02 MB, free: 76 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.001349/0.001349, allocations: 179.3 kB / 16.92 MB, free: 6.918 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.25 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.52/2.52, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.7267, allocations: 142.4 MB / 0.9557 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001303/0.728, allocations: 0.9962 MB / 0.9567 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.7293, allocations: 0.8319 MB / 0.9575 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.7293, allocations: 1.438 kB / 0.9575 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.7293, allocations: 0 / 0.9575 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.7294, allocations: 7.922 kB / 0.9575 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.7298, allocations: 115.5 kB / 0.9576 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/0.7298, allocations: 28.47 kB / 0.9576 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.7299, allocations: 0.9062 kB / 0.9576 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.7299, allocations: 14.69 kB / 0.9577 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.73, allocations: 7.859 kB / 0.9577 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.73, allocations: 1.344 kB / 0.9577 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.7303, allocations: 172.5 kB / 0.9578 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.7304, allocations: 9.156 kB / 0.9578 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.7304, allocations: 34.31 kB / 0.9579 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.7306, allocations: 87.3 kB / 0.958 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7306, allocations: 4 kB / 0.958 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7306, allocations: 0 / 0.958 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7306, allocations: 0 / 0.958 GB, free: 6.07 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.000357/0.731, allocations: 352.6 kB / 0.9583 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.731, allocations: 9.625 kB / 0.9583 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.7311, allocations: 3 kB / 0.9583 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.18e-05/0.7311, allocations: 168.3 kB / 0.9585 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.7312, allocations: 34.12 kB / 0.9585 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.7312, allocations: 6.281 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.7314, allocations: 42.09 kB / 0.9585 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.7314, allocations: 3.938 kB / 0.9586 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.7314, allocations: 0 / 0.9586 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.7314, allocations: 1.219 kB / 0.9586 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.7315, allocations: 18.3 kB / 0.9586 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.7316, allocations: 162.2 kB / 0.9587 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.7319, allocations: 54.58 kB / 0.9588 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.7319, allocations: 16 kB / 0.9588 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.7322, allocations: 181 kB / 0.959 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.7322, allocations: 31.75 kB / 0.959 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.7322, allocations: 5.141 kB / 0.959 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002368/0.7324, allocations: 75.86 kB / 0.9591 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.7325, allocations: 52.88 kB / 0.9591 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.7325, allocations: 100.5 kB / 0.9592 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.7326, allocations: 31.27 kB / 0.9592 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.73e-05/0.7326, allocations: 80.14 kB / 0.9593 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.7326, allocations: 9.609 kB / 0.9593 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.7326, allocations: 11.03 kB / 0.9593 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.7327, allocations: 324.2 kB / 0.9597 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.7327, allocations: 8.828 kB / 0.9597 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.905e-05/0.7328, allocations: 10.66 kB / 0.9597 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.7329, allocations: 25.59 kB / 0.9597 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7329, allocations: 0 / 0.9597 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.733, allocations: 59.66 kB / 0.9598 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.733, allocations: 9.438 kB / 0.9598 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7331, allocations: 7.922 kB / 0.9598 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7331, allocations: 4 kB / 0.9598 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.983e-05/0.7331, allocations: 11.12 kB / 0.9598 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.7331, allocations: 0 / 0.9598 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.7332, allocations: 1.75 kB / 0.9598 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.7332, allocations: 1.812 kB / 0.9598 GB, free: 4.117 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.928e-05/0.7332, allocations: 107.6 kB / 0.9599 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.7332, allocations: 9.703 kB / 0.9599 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.7334, allocations: 67.14 kB / 0.96 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7334, allocations: 4 kB / 0.96 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7334, allocations: 1.812 kB / 0.96 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7334, allocations: 0 / 0.96 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.547e-05/0.7335, allocations: 158 kB / 0.9601 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7335, allocations: 2.188 kB / 0.9601 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.7336, allocations: 5.656 kB / 0.9601 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7336, allocations: 3.938 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.7336, allocations: 1.312 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7336, allocations: 0 / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7336, allocations: 3.984 kB / 0.9601 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.7337, allocations: 86 kB / 0.9602 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.7338, allocations: 86.41 kB / 0.9603 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.7338, allocations: 5.312 kB / 0.9603 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.885e-05/0.7339, allocations: 5.375 kB / 0.9603 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.7339, allocations: 6.734 kB / 0.9603 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.7339, allocations: 5.312 kB / 0.9603 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.07e-05/0.7339, allocations: 84.69 kB / 0.9604 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.42e-07/0.7339, allocations: 1.375 kB / 0.9604 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002288/0.7342, allocations: 33.94 kB / 0.9604 GB, free: 3.434 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.0001932/0.7344, allocations: 141.6 kB / 0.9606 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.7345, allocations: 24.48 kB / 0.9606 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7345, allocations: 0 / 0.9606 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.7346, allocations: 17.61 kB / 0.9606 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.7348, allocations: 8.125 kB / 0.9606 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.7351, allocations: 166.3 kB / 0.9608 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.7352, allocations: 0.6785 MB / 0.9614 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.7352, allocations: 10.19 kB / 0.9614 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.7352, allocations: 0 / 0.9614 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.002416/0.7377, allocations: 0.9746 MB / 0.9624 GB, free: 1.934 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