Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 164.6 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.861/2.861, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 71.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7953/0.7975, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002248/0.7997, allocations: 1.517 MB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.8008, allocations: 0.7469 MB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.8008, allocations: 0 / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.8009, allocations: 4.688 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.8009, allocations: 10.7 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.8013, allocations: 135.7 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.8014, allocations: 59.78 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.8015, allocations: 6.875 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.798e-05/0.8015, allocations: 26.73 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.8016, allocations: 20.27 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.8016, allocations: 4.375 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.8019, allocations: 163.6 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.8019, allocations: 11.69 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.8019, allocations: 15.78 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.8022, allocations: 154.4 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8022, allocations: 0.7812 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8022, allocations: 0 / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.8022, allocations: 0 / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004531/0.8027, allocations: 329.6 kB / 1.19 GB, free: 14.17 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.8027, allocations: 9.219 kB / 1.19 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.8027, allocations: 3.594 kB / 1.19 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.773e-05/0.8028, allocations: 116.1 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.8028, allocations: 1.469 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.8028, allocations: 2.594 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.8031, allocations: 80.8 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.8031, allocations: 192 / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.8031, allocations: 13 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.8031, allocations: 1 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.8034, allocations: 65.72 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.8037, allocations: 217.5 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.8039, allocations: 57.64 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.804, allocations: 41.17 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.8042, allocations: 17.14 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.8042, allocations: 40.44 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8042, allocations: 0 / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005408/0.8047, allocations: 133 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.8047, allocations: 52.53 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.688e-05/0.8048, allocations: 114 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.8048, allocations: 25.7 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.8048, allocations: 92.23 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.8048, allocations: 10.88 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.8049, allocations: 12.7 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.201e-05/0.8049, allocations: 319.2 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.8051, allocations: 30.39 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.8052, allocations: 31.52 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.8055, allocations: 66.88 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8055, allocations: 3.938 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003189/0.8058, allocations: 112.2 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.8058, allocations: 5.641 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.8058, allocations: 0 / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8058, allocations: 0 / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.806, allocations: 16.92 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.806, allocations: 0 / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.227e-05/0.806, allocations: 16.11 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.806, allocations: 4.562 kB / 1.191 GB, free: 12.88 MB / 1.076 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 (3): * Single equations (assignments): 3 * 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.217e-05/0.8061, allocations: 118.7 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.8061, allocations: 1.094 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.8065, allocations: 105.2 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8065, allocations: 1.375 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8065, allocations: 0.6094 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8065, allocations: 9.125 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.8066, allocations: 118 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8066, allocations: 0 / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.8067, allocations: 20.97 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.8067, allocations: 0 / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.8067, allocations: 384 / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8067, allocations: 1.891 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8067, allocations: 3.938 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.807, allocations: 201 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-06/0.807, allocations: 8.984 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.807, allocations: 2.078 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.8072, allocations: 11.75 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.8072, allocations: 8.156 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.8072, allocations: 1.5 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.854e-05/0.8072, allocations: 88.69 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8072, allocations: 0 / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002685/0.8075, allocations: 37.36 kB / 1.192 GB, free: 12.31 MB / 1.076 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 (3): * Single equations (assignments): 3 * 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.0001652/0.8077, allocations: 137.2 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.808, allocations: 66.91 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.808, allocations: 0 / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.8082, allocations: 39.2 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.8084, allocations: 12.98 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.8087, allocations: 150.8 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.8087, allocations: 66.31 kB / 1.192 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.8e-05/0.8088, allocations: 9.672 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.8088, allocations: 11.09 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.8088, allocations: 4 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of Templates: time 0.004037/0.8128, allocations: 1.398 MB / 1.194 GB, free: 11.8 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.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: 8.580719614983536]