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.001421/0.001421, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.001591/0.001591, allocations: 196 kB / 17.31 MB, free: 5.613 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.55 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3168, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002366/0.3192, allocations: 1.274 MB / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3205, allocations: 0.8403 MB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.3205, allocations: 4 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.3205, allocations: 0 / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.3206, allocations: 11.92 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.3211, allocations: 127.4 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.3212, allocations: 23.92 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.3212, allocations: 3.984 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.3213, allocations: 11.98 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.096e-05/0.3214, allocations: 11.94 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3214, allocations: 7.938 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.3217, allocations: 167.8 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.3217, allocations: 3.984 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.3217, allocations: 11.94 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.322, allocations: 115.7 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.322, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.322, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.322, allocations: 0 / 1.029 GB, free: 15.42 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.0004246/0.3224, allocations: 364.6 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3225, allocations: 16.03 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.3225, allocations: 0.9375 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3226, allocations: 168.2 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/0.3227, allocations: 30.27 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3227, allocations: 384 / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3228, allocations: 50.23 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3229, allocations: 3.938 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3229, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3229, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.101e-05/0.323, allocations: 23.98 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.3231, allocations: 153.7 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3234, allocations: 50.5 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.3234, allocations: 16.8 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.3237, allocations: 182.3 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.3238, allocations: 34.55 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3238, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002301/0.324, allocations: 61.62 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.324, allocations: 63.28 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.3241, allocations: 97.84 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3241, allocations: 29.7 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.3242, allocations: 84.14 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.3242, allocations: 7.812 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3242, allocations: 21.7 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3244, allocations: 310.8 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.3244, allocations: 12 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.3245, allocations: 7.984 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.978e-05/0.3246, allocations: 33.31 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3246, allocations: 4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001278/0.3247, allocations: 53.67 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3247, allocations: 11.88 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3247, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3248, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.3248, allocations: 11.98 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.3248, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.3249, allocations: 7.938 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3249, allocations: 4 kB / 1.031 GB, free: 13.27 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 7.195e-05/0.325, allocations: 113.8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.325, allocations: 11.84 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.3252, allocations: 61.17 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3252, allocations: 4 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3252, allocations: 3.984 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3252, allocations: 3.938 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.3253, allocations: 153.7 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3253, allocations: 0 / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-05/0.3254, allocations: 12 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3254, allocations: 3.938 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3254, allocations: 4 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3254, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3254, allocations: 3.938 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.3255, allocations: 81.11 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.3256, allocations: 85.09 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3256, allocations: 3.938 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-05/0.3257, allocations: 8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.3257, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3257, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.3258, allocations: 87.27 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3258, allocations: 3.938 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002349/0.326, allocations: 35.94 kB / 1.032 GB, free: 12.49 MB / 0.8106 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.0001954/0.3262, allocations: 131.2 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.3264, allocations: 39.92 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3264, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.3264, allocations: 11.98 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.3266, allocations: 8 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.3269, allocations: 127.1 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3271, allocations: 0.6768 MB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.3272, allocations: 16.31 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.3272, allocations: 11.44 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3272, allocations: 0 / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.003181/0.3304, allocations: 1.067 MB / 1.034 GB, free: 10.35 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 -s gbode -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