Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001813/0.001813, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002265/0.002265, allocations: 212 kB / 20.13 MB, free: 2.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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001931/0.001931, allocations: 67.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003147/1.037, allocations: 1.288 MB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007951/1.038, allocations: 304.9 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/1.038, allocations: 1.094 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/1.038, allocations: 0.5156 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.34e-05/1.038, allocations: 5.562 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/1.038, allocations: 51.84 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/1.038, allocations: 18.58 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/1.038, allocations: 9.922 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/1.038, allocations: 5.062 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/1.039, allocations: 8.859 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/1.039, allocations: 5.141 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/1.039, allocations: 54.52 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/1.039, allocations: 4.516 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/1.039, allocations: 4.859 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/1.039, allocations: 51.55 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.039, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.605e-06/1.039, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.835e-06/1.039, allocations: 0.8438 kB / 1.281 GB, free: 10.54 MB / 0.9981 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.0005987/1.04, allocations: 338.8 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.04, allocations: 10.89 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.874e-05/1.04, allocations: 192 / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/1.04, allocations: 36.28 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/1.04, allocations: 22.72 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/1.04, allocations: 165 kB / 1.281 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/1.04, allocations: 6.062 kB / 1.281 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/1.04, allocations: 2.469 kB / 1.281 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/1.04, allocations: 45.3 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.04, allocations: 0 / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.04, allocations: 0.7031 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.04, allocations: 1 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.262e-05/1.04, allocations: 14.67 kB / 1.281 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/1.041, allocations: 162.3 kB / 1.281 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/1.043, allocations: 271.7 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/1.043, allocations: 17.84 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/1.043, allocations: 1.094 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/1.043, allocations: 44.28 kB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/1.043, allocations: 0 / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000256/1.043, allocations: 57.09 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/1.043, allocations: 57.28 kB / 1.282 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/1.043, allocations: 95.84 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/1.043, allocations: 26.3 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/1.043, allocations: 80.67 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/1.043, allocations: 14.56 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/1.043, allocations: 22.08 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.044, allocations: 313.1 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/1.044, allocations: 9.531 kB / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/1.044, allocations: 10.53 kB / 1.282 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-05/1.044, allocations: 28.55 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.044, allocations: 0 / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001153/1.044, allocations: 56.67 kB / 1.283 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.044, allocations: 10.94 kB / 1.283 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.044, allocations: 5.188 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.044, allocations: 0.625 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/1.044, allocations: 6.312 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.044, allocations: 1.156 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/1.044, allocations: 0.5 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/1.044, allocations: 1.031 kB / 1.283 GB, free: 8.824 MB / 0.9981 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 0.0001254/1.044, allocations: 108.1 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/1.044, allocations: 10.31 kB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/1.044, allocations: 12.03 kB / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.044, allocations: 5.016 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.044, allocations: 0.5 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.044, allocations: 1.203 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/1.044, allocations: 158.3 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.044, allocations: 0 / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/1.044, allocations: 11.08 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.381e-06/1.044, allocations: 4.438 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/1.044, allocations: 0.5 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.044, allocations: 0.5625 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.044, allocations: 1.359 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/1.045, allocations: 81.62 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/1.045, allocations: 83.89 kB / 1.283 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/1.045, allocations: 5.828 kB / 1.283 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/1.045, allocations: 1.562 kB / 1.283 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/1.045, allocations: 6.359 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/1.045, allocations: 1.75 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.412e-05/1.045, allocations: 76.28 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.045, allocations: 4.594 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002011/1.045, allocations: 6 kB / 1.283 GB, free: 8.215 MB / 0.9981 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.0005616/1.046, allocations: 0.6175 MB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001557/1.046, allocations: 24.19 kB / 1.284 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.046, allocations: 0.625 kB / 1.284 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/1.046, allocations: 17.11 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/1.046, allocations: 8.297 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/1.047, allocations: 161.9 kB / 1.284 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/1.047, allocations: 0.6797 MB / 1.285 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.575e-05/1.047, allocations: 6.25 kB / 1.285 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/1.047, allocations: 9.719 kB / 1.285 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.047, allocations: 0 / 1.285 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/1.064, allocations: 1.376 MB / 1.286 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.657/9.722, allocations: 16.14 kB / 1.286 GB, free: 6.316 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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: 16.13533014099812]