Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00129/0.00129, 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.001597/0.001598, allocations: 195.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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.53 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.311, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002644/0.3137, allocations: 1.27 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3151, allocations: 0.8316 MB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.3151, allocations: 0 / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.3152, allocations: 0 / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.622e-05/0.3152, allocations: 11.92 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.3159, allocations: 123.4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.049e-05/0.316, allocations: 27.86 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.316, allocations: 4 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.3161, allocations: 11.94 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.899e-05/0.3161, allocations: 19.91 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3162, allocations: 4 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.3165, allocations: 163.8 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.3166, allocations: 3.984 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.3166, allocations: 11.92 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.3169, allocations: 112.1 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.3169, allocations: 7.922 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3169, allocations: 0 / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3169, allocations: 0 / 1.071 GB, free: 7.809 MB / 0.8262 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.0004735/0.3174, allocations: 359.5 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3174, allocations: 12.03 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.3175, allocations: 12.78 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3176, allocations: 168.4 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.3177, allocations: 30.27 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3177, allocations: 4.375 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3179, allocations: 46.23 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3179, allocations: 3.938 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3179, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3179, allocations: 4 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.318, allocations: 23.92 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.3182, allocations: 157.7 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.3184, allocations: 50.55 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.149e-05/0.3185, allocations: 16.94 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.3188, allocations: 182.2 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3188, allocations: 34.56 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3188, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002428/0.3191, allocations: 69.55 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.3191, allocations: 55.41 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.3192, allocations: 97.84 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3192, allocations: 33.7 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.3193, allocations: 80.14 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3193, allocations: 7.812 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.3193, allocations: 17.72 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.3195, allocations: 310.8 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.3195, allocations: 19.92 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.3196, allocations: 4 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.3197, allocations: 36.84 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3197, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00015/0.3198, allocations: 57.61 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3199, allocations: 9.656 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3199, allocations: 4 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3199, allocations: 0 / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.3199, allocations: 4 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.32, allocations: 0 / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.32, allocations: 15.83 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.32, allocations: 4.516 kB / 1.073 GB, free: 5.648 MB / 0.8262 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 7.669e-05/0.3201, allocations: 114.4 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.3201, allocations: 3.938 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.3203, allocations: 73.09 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3203, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3203, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3204, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.3205, allocations: 153.7 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3205, allocations: 4 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.3205, allocations: 11.98 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3205, allocations: 3.938 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3206, allocations: 0 / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3206, allocations: 0 / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3206, allocations: 4 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.3207, allocations: 77.11 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.3208, allocations: 89.02 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3208, allocations: 11.88 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-05/0.3209, allocations: 4 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3209, allocations: 7.922 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3209, allocations: 4 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.321, allocations: 83.28 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.321, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002399/0.3212, allocations: 35.92 kB / 1.073 GB, free: 4.875 MB / 0.8262 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.0002251/0.3214, allocations: 139.2 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.3216, allocations: 35.97 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3216, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.3217, allocations: 11.94 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.3219, allocations: 11.98 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.3222, allocations: 123.1 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.3224, allocations: 0.6768 MB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.717e-05/0.3225, allocations: 8 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.3225, allocations: 11.44 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3225, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of Templates: time 0.003423/0.326, allocations: 1.069 MB / 1.075 GB, free: 2.734 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches