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.001427/0.001427, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001546/0.001546, allocations: 219.8 kB / 22.25 MB, free: 5.102 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.809 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.282/3.282, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",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.002065/0.002065, allocations: 73.25 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.444, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002494/0.4465, allocations: 1.301 MB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1841/0.6306, allocations: 129.6 MB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.6306, allocations: 4 kB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.6307, allocations: 0 / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.6307, allocations: 11.88 kB / 1.454 GB, free: 14.06 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.6313, allocations: 123.4 kB / 1.454 GB, free: 13.94 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.6314, allocations: 19.88 kB / 1.454 GB, free: 13.92 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.6315, allocations: 0 / 1.454 GB, free: 13.92 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.6315, allocations: 7.938 kB / 1.454 GB, free: 13.91 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.6316, allocations: 7.984 kB / 1.454 GB, free: 13.9 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.6316, allocations: 0 / 1.454 GB, free: 13.9 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.6321, allocations: 167.7 kB / 1.454 GB, free: 13.74 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.6321, allocations: 8 kB / 1.454 GB, free: 13.73 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.6321, allocations: 7.938 kB / 1.454 GB, free: 13.72 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.6324, allocations: 127.8 kB / 1.454 GB, free: 13.6 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6324, allocations: 0 / 1.454 GB, free: 13.6 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6324, allocations: 0 / 1.454 GB, free: 13.6 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.6324, allocations: 0 / 1.454 GB, free: 13.6 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.0004762/0.6329, allocations: 274 kB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.633, allocations: 8.031 kB / 1.454 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.633, allocations: 38.73 kB / 1.454 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006634/0.6337, allocations: 40.89 kB / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.6338, allocations: 110.3 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.6339, allocations: 0 / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.6339, allocations: 0 / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.6341, allocations: 49.66 kB / 1.455 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6341, allocations: 0 / 1.455 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6341, allocations: 0 / 1.455 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6341, allocations: 0 / 1.455 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.6342, allocations: 23.92 kB / 1.455 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.6347, allocations: 227.9 kB / 1.455 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.394e-05/0.6347, allocations: 22.56 kB / 1.455 GB, free: 12.7 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.6347, allocations: 12.92 kB / 1.455 GB, free: 12.68 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.6348, allocations: 3.938 kB / 1.455 GB, free: 12.68 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.6348, allocations: 34.56 kB / 1.455 GB, free: 12.64 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6348, allocations: 0 / 1.455 GB, free: 12.64 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.635, allocations: 45.64 kB / 1.455 GB, free: 12.59 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.635, allocations: 51.41 kB / 1.455 GB, free: 12.52 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.6352, allocations: 117.8 kB / 1.455 GB, free: 12.4 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.6352, allocations: 25.7 kB / 1.455 GB, free: 12.37 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.6352, allocations: 80.14 kB / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.6353, allocations: 7.891 kB / 1.455 GB, free: 12.28 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.6353, allocations: 29.66 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6354, allocations: 310.8 kB / 1.456 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.6355, allocations: 16.11 kB / 1.456 GB, free: 11.91 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.6356, allocations: 15.92 kB / 1.456 GB, free: 11.9 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.495e-05/0.6357, allocations: 28.78 kB / 1.456 GB, free: 11.87 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6357, allocations: 0 / 1.456 GB, free: 11.87 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002016/0.6359, allocations: 57.95 kB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6359, allocations: 4 kB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6359, allocations: 0 / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6359, allocations: 4.047 kB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.636, allocations: 15.97 kB / 1.456 GB, free: 11.78 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.636, allocations: 0 / 1.456 GB, free: 11.78 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.6362, allocations: 11.92 kB / 1.456 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.6362, allocations: 4 kB / 1.456 GB, free: 11.77 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 8.729e-05/0.6363, allocations: 106.4 kB / 1.456 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.6363, allocations: 4 kB / 1.456 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.6363, allocations: 11.3 kB / 1.456 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6363, allocations: 4 kB / 1.456 GB, free: 11.63 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6364, allocations: 0 / 1.456 GB, free: 11.63 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6364, allocations: 7.875 kB / 1.456 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.6365, allocations: 120.8 kB / 1.456 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6365, allocations: 0 / 1.456 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.6366, allocations: 7.984 kB / 1.456 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.6366, allocations: 0 / 1.456 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.6366, allocations: 4 kB / 1.456 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6366, allocations: 0 / 1.456 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6366, allocations: 0 / 1.456 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.6367, allocations: 147.4 kB / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.6367, allocations: 3.984 kB / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.6368, allocations: 4 kB / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.6369, allocations: 0 / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.6369, allocations: 3.938 kB / 1.456 GB, free: 11.28 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.6369, allocations: 4 kB / 1.456 GB, free: 11.28 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001037/0.637, allocations: 91.27 kB / 1.456 GB, free: 11.19 MB / 1.154 GB Notification: Performance of sort global known variables: time 7.1e-08/0.637, allocations: 0 / 1.456 GB, free: 11.19 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002697/0.6373, allocations: 15.94 kB / 1.456 GB, free: 11.17 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.000713/0.638, allocations: 0.6812 MB / 1.457 GB, free: 10.46 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.6381, allocations: 15.98 kB / 1.457 GB, free: 10.45 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6382, allocations: 0 / 1.457 GB, free: 10.45 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/0.6382, allocations: 7.938 kB / 1.457 GB, free: 10.44 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.6386, allocations: 21.89 kB / 1.457 GB, free: 10.42 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.6392, allocations: 149.3 kB / 1.457 GB, free: 10.23 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.502e-05/0.6393, allocations: 59.34 kB / 1.457 GB, free: 10.16 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.05e-05/0.6393, allocations: 8 kB / 1.457 GB, free: 10.15 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.6394, allocations: 7.438 kB / 1.457 GB, free: 10.14 MB / 1.154 GB Notification: Performance of SimCode: time 4.71e-07/0.6394, allocations: 4 kB / 1.457 GB, free: 10.14 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.6697, allocations: 2.176 MB / 1.459 GB, free: 8.098 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.7, allocations: 2.938 kB / 1.459 GB, free: 8.098 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: 18.771231930993963]