Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005559/0.005559, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004015, allocations: 8 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6129/0.6134, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001296/0.6147, allocations: 0.9878 MB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000583/0.6153, allocations: 287.2 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.47e-05/0.6153, allocations: 4 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.6154, allocations: 3.984 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.6154, allocations: 7.938 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.6157, allocations: 43.75 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.6157, allocations: 11.94 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.6158, allocations: 4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.6158, allocations: 11.98 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.6159, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.6159, allocations: 4 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.616, allocations: 59.89 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.616, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.6161, allocations: 37.67 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.6162, allocations: 46.16 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6162, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6162, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.6162, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 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.0003113/0.6165, allocations: 335.5 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6166, allocations: 8.031 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.6166, allocations: 38.75 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.6168, allocations: 24.84 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.498e-05/0.6169, allocations: 164.3 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.617, allocations: 4.375 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.617, allocations: 384 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/0.6171, allocations: 46 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.6171, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.6171, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6171, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.584e-05/0.6172, allocations: 15.98 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.6173, allocations: 157.7 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.6192, allocations: 274.3 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.6192, allocations: 20.86 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.6192, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.6193, allocations: 38.5 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.6193, allocations: 3.938 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001477/0.6194, allocations: 61.69 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.6195, allocations: 59.34 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.6195, allocations: 93.84 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.6195, allocations: 25.7 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.6196, allocations: 80.14 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.6196, allocations: 23.73 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.6196, allocations: 9.719 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.6197, allocations: 310.8 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.6198, allocations: 11.98 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.6198, allocations: 16.12 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.6198, allocations: 24.86 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6198, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.788e-05/0.6199, allocations: 53.95 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.6199, allocations: 11.94 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.62, allocations: 3.984 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.62, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.62, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.62, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.6201, allocations: 11.98 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.6201, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 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.138e-05/0.6202, allocations: 106.4 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.6202, allocations: 11.84 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.6202, allocations: 7.5 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6202, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6202, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.6202, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.6204, allocations: 157.7 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6204, allocations: 3.938 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.6204, allocations: 12 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6204, allocations: 3.938 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.6204, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6205, allocations: 3.984 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6205, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.6206, allocations: 85 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.6206, allocations: 81.05 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.6207, allocations: 4 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.6207, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.6207, allocations: 7.984 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.6207, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.986e-05/0.6208, allocations: 75.28 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6208, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001827/0.621, allocations: 8 kB / 1.027 GB, free: 11.54 MB / 0.7794 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.0003433/0.6213, allocations: 0.6164 MB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.065e-05/0.6214, allocations: 27.98 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6214, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.6214, allocations: 12 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.6217, allocations: 11.98 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.6221, allocations: 174.1 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.6223, allocations: 0.677 MB / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.772e-05/0.6223, allocations: 4 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.6223, allocations: 7.438 kB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6223, allocations: 0 / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009491/0.6318, allocations: 1.108 MB / 1.03 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.632, allocations: 212.2 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.356, allocations: 4.062 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches