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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001712/0.001712, allocations: 109 kB / 16.37 MB, free: 6.305 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.001754/0.001754, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 442.6 MB / 0.7166 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 68.55 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2947, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002653/0.2974, allocations: 1.285 MB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2988, allocations: 0.821 MB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.2988, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.2988, allocations: 7.875 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.2989, allocations: 7.984 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.2994, allocations: 127.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.537e-05/0.2995, allocations: 27.8 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.2995, allocations: 8 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.2996, allocations: 7.984 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.2996, allocations: 15.91 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2997, allocations: 4 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.3, allocations: 163.8 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.3, allocations: 11.98 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.3, allocations: 11.94 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.3003, allocations: 111.8 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3003, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3003, allocations: 3.938 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3003, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 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.0004388/0.3007, allocations: 363.4 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3008, allocations: 8.031 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.3008, allocations: 8.859 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3009, allocations: 176.3 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.301, allocations: 26.27 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.301, allocations: 4.375 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3012, allocations: 46.23 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3012, allocations: 3.938 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3012, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.3012, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.321e-05/0.3013, allocations: 23.92 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.3015, allocations: 157.7 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.3017, allocations: 46.56 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.3018, allocations: 20.94 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.3021, allocations: 174.2 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3021, allocations: 38.56 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3021, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000263/0.3024, allocations: 73.55 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.3024, allocations: 51.41 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.3025, allocations: 97.86 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3025, allocations: 25.7 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.3026, allocations: 80.14 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.3026, allocations: 11.81 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3026, allocations: 25.64 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3028, allocations: 314.8 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.3029, allocations: 11.98 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.3029, allocations: 4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.863e-05/0.303, allocations: 32.84 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.303, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000133/0.3032, allocations: 58.09 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3032, allocations: 8 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3032, allocations: 7.922 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3032, allocations: 4.031 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.3033, allocations: 11.98 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3033, allocations: 4 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.3033, allocations: 3.938 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3033, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 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 8.263e-05/0.3034, allocations: 117.8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.3034, allocations: 7.906 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.3036, allocations: 77.03 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3036, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3036, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.3037, allocations: 77.11 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3037, allocations: 4 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.682e-05/0.3038, allocations: 11.92 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.3038, allocations: 4 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001662/0.304, allocations: 137 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002/0.3042, allocations: 234.7 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.403e-05/0.3042, allocations: 15.98 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.3043, allocations: 75.28 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of Backend: time 3e-07/0.3043, allocations: 0 / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.3048, allocations: 154.2 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of SimCode: time 0.000415/0.3052, allocations: 0.5666 MB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.003712/0.309, allocations: 1.403 MB / 1.034 GB, free: 10.32 MB / 0.8106 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/jenkins1/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