Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 443.5 MB / 0.7304 GB, free: 14.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 64.12 kB / 1.059 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002649/0.3443, allocations: 1.283 MB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3459, allocations: 0.8429 MB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.3459, allocations: 0 / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.3459, allocations: 0 / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.346, allocations: 7.938 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.3465, allocations: 131.4 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.3466, allocations: 23.92 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.3466, allocations: 3.984 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.3467, allocations: 11.98 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.3467, allocations: 11.94 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3467, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.3471, allocations: 171.7 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.3471, allocations: 7.984 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.3471, allocations: 11.94 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.3473, allocations: 127.6 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3474, allocations: 0 / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3474, allocations: 0 / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3474, allocations: 0 / 1.219 GB, free: 12.72 MB / 0.9669 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.0005142/0.3479, allocations: 359.2 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3479, allocations: 12.03 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.348, allocations: 4.891 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3481, allocations: 160.4 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.3482, allocations: 38.2 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3482, allocations: 8.375 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3483, allocations: 42.23 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3484, allocations: 7.938 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3484, allocations: 4 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3484, allocations: 3.938 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.663e-05/0.3485, allocations: 19.92 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.3487, allocations: 157.7 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.3489, allocations: 46.5 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.349, allocations: 16.86 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003453/0.3493, allocations: 182.3 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3493, allocations: 30.56 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3493, allocations: 4 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002671/0.3496, allocations: 69.61 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.3497, allocations: 51.41 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.3497, allocations: 101.8 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3498, allocations: 25.7 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.3498, allocations: 80.14 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3498, allocations: 19.78 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3499, allocations: 25.7 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.35, allocations: 310.8 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.3501, allocations: 8 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.3501, allocations: 11.98 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.3502, allocations: 28.84 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3502, allocations: 0 / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001376/0.3503, allocations: 53.69 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3503, allocations: 11.94 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3503, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3504, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.3504, allocations: 15.92 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3504, allocations: 0 / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.3505, allocations: 3.953 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3505, allocations: 8 kB / 1.221 GB, free: 10.57 MB / 0.9669 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.63e-05/0.3505, allocations: 105.8 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.3506, allocations: 3.938 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.3507, allocations: 69.17 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3507, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3507, allocations: 3.984 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3507, allocations: 0 / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3509, allocations: 157.7 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3509, allocations: 0 / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.3509, allocations: 11.88 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3509, allocations: 7.938 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3509, allocations: 4 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3509, allocations: 0 / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3509, allocations: 4 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.3511, allocations: 85.62 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.3512, allocations: 81.09 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3512, allocations: 11.88 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.65e-05/0.3512, allocations: 4 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.3513, allocations: 8.031 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3513, allocations: 4 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.3513, allocations: 87.27 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3513, allocations: 0 / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002384/0.3516, allocations: 31.81 kB / 1.221 GB, free: 9.797 MB / 0.9669 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.0002531/0.3518, allocations: 144.6 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.352, allocations: 27.98 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.352, allocations: 0 / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.352, allocations: 15.98 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.3523, allocations: 8 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.3526, allocations: 143 kB / 1.221 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3529, allocations: 0.6768 MB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.916e-05/0.353, allocations: 8 kB / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.353, allocations: 11.44 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.353, allocations: 0 / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of Templates: time 0.003765/0.3567, allocations: 1.062 MB / 1.223 GB, free: 7.648 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.912677153013647]