Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001835/0.001835, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002259/0.002259, allocations: 218.8 kB / 23.03 MB, free: 4.949 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.344/3.344, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="cs",version="2.0",platforms={"static"}) [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.001965/0.001965, allocations: 68 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3853, allocations: 176.1 MB / 1.327 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00254/0.3878, allocations: 1.301 MB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.5602, allocations: 129.5 MB / 1.454 GB, free: 14.19 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.5603, allocations: 0 / 1.454 GB, free: 14.19 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.5603, allocations: 0 / 1.454 GB, free: 14.19 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.5604, allocations: 3.938 kB / 1.454 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.5609, allocations: 123.4 kB / 1.455 GB, free: 14.06 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.561, allocations: 19.88 kB / 1.455 GB, free: 14.04 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.561, allocations: 0 / 1.455 GB, free: 14.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.561, allocations: 11.92 kB / 1.455 GB, free: 14.03 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.5611, allocations: 11.98 kB / 1.455 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.5611, allocations: 0 / 1.455 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.5616, allocations: 171.7 kB / 1.455 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.5616, allocations: 0 / 1.455 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.5616, allocations: 7.938 kB / 1.455 GB, free: 13.84 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.5619, allocations: 123.8 kB / 1.455 GB, free: 13.72 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5619, allocations: 0 / 1.455 GB, free: 13.72 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5619, allocations: 0 / 1.455 GB, free: 13.72 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5619, allocations: 4 kB / 1.455 GB, free: 13.72 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003934/0.5623, allocations: 278 kB / 1.455 GB, free: 13.42 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5623, allocations: 8.031 kB / 1.455 GB, free: 13.41 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.093e-05/0.5623, allocations: 8.172 kB / 1.455 GB, free: 13.4 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.5624, allocations: 34.69 kB / 1.455 GB, free: 13.36 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006016/0.563, allocations: 32.89 kB / 1.455 GB, free: 13.33 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.5631, allocations: 118.1 kB / 1.455 GB, free: 13.19 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.5631, allocations: 0 / 1.455 GB, free: 13.19 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.5631, allocations: 4 kB / 1.455 GB, free: 13.18 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.5633, allocations: 45.66 kB / 1.455 GB, free: 13.13 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5633, allocations: 0 / 1.455 GB, free: 13.13 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5633, allocations: 0 / 1.455 GB, free: 13.13 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.5633, allocations: 0 / 1.455 GB, free: 13.13 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.5635, allocations: 27.95 kB / 1.455 GB, free: 13.11 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.5639, allocations: 223.9 kB / 1.456 GB, free: 12.84 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 7.025e-05/0.5639, allocations: 30.56 kB / 1.456 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.564, allocations: 8.797 kB / 1.456 GB, free: 12.79 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.564, allocations: 4.062 kB / 1.456 GB, free: 12.79 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.564, allocations: 30.56 kB / 1.456 GB, free: 12.75 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.564, allocations: 0 / 1.456 GB, free: 12.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0001648/0.5642, allocations: 41.64 kB / 1.456 GB, free: 12.7 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.5642, allocations: 59.39 kB / 1.456 GB, free: 12.63 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.5644, allocations: 117.9 kB / 1.456 GB, free: 12.51 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5644, allocations: 25.7 kB / 1.456 GB, free: 12.48 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.5645, allocations: 84.14 kB / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.5645, allocations: 7.891 kB / 1.456 GB, free: 12.38 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.5645, allocations: 21.7 kB / 1.456 GB, free: 12.36 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5647, allocations: 314.8 kB / 1.456 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.5648, allocations: 8 kB / 1.456 GB, free: 12.03 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.5648, allocations: 7.984 kB / 1.456 GB, free: 12.02 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.411e-05/0.5649, allocations: 28.84 kB / 1.456 GB, free: 11.99 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5649, allocations: 0 / 1.456 GB, free: 11.99 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002176/0.5651, allocations: 61.56 kB / 1.456 GB, free: 11.93 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5652, allocations: 8 kB / 1.456 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5652, allocations: 0 / 1.456 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5652, allocations: 3.984 kB / 1.456 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.5653, allocations: 8 kB / 1.456 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.5653, allocations: 11.94 kB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.5654, allocations: 7.984 kB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.5655, allocations: 3.938 kB / 1.456 GB, free: 11.88 MB / 1.154 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 0.0001051/0.5656, allocations: 118.4 kB / 1.457 GB, free: 11.76 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.5656, allocations: 0 / 1.457 GB, free: 11.76 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.5656, allocations: 3.312 kB / 1.457 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5656, allocations: 0 / 1.457 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5656, allocations: 3.938 kB / 1.457 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5656, allocations: 4 kB / 1.457 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.5658, allocations: 124.8 kB / 1.457 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5658, allocations: 4 kB / 1.457 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.5658, allocations: 0 / 1.457 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5659, allocations: 0 / 1.457 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.5659, allocations: 4 kB / 1.457 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5659, allocations: 0 / 1.457 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5659, allocations: 11.81 kB / 1.457 GB, free: 11.56 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.566, allocations: 127.6 kB / 1.457 GB, free: 11.42 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.566, allocations: 11.94 kB / 1.457 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.566, allocations: 0 / 1.457 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5662, allocations: 12.03 kB / 1.457 GB, free: 11.4 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.5662, allocations: 4.266 kB / 1.457 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.5662, allocations: 0 / 1.457 GB, free: 11.39 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.873e-05/0.5663, allocations: 91.25 kB / 1.457 GB, free: 11.3 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5663, allocations: 0 / 1.457 GB, free: 11.3 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002611/0.5665, allocations: 19.94 kB / 1.457 GB, free: 11.29 MB / 1.154 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 (2): * Single equations (assignments): 2 * 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.0005443/0.5671, allocations: 0.6734 MB / 1.458 GB, free: 10.59 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.5672, allocations: 24.02 kB / 1.458 GB, free: 10.56 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5672, allocations: 0 / 1.458 GB, free: 10.56 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.5672, allocations: 4 kB / 1.458 GB, free: 10.56 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.5676, allocations: 11.92 kB / 1.458 GB, free: 10.55 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.5682, allocations: 157.1 kB / 1.458 GB, free: 10.35 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.367e-05/0.5682, allocations: 59.34 kB / 1.458 GB, free: 10.27 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.352e-05/0.5683, allocations: 12 kB / 1.458 GB, free: 10.26 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.5683, allocations: 19.42 kB / 1.458 GB, free: 10.24 MB / 1.154 GB Notification: Performance of SimCode: time 4.71e-07/0.5683, allocations: 0 / 1.458 GB, free: 10.24 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.5921, allocations: 1.799 MB / 1.46 GB, free: 8.598 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12, allocations: 9.828 kB / 1.46 GB, free: 8.59 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: 19.25490418507252]