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.001779/0.00178, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002062/0.002062, allocations: 195 kB / 16.14 MB, free: 6.648 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.512 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.489/2.489, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.5357, allocations: 151.6 MB / 1.017 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002087/0.5378, allocations: 1.333 MB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005182/0.5383, allocations: 299.1 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.252e-05/0.5383, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.5384, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.071e-05/0.5384, allocations: 7.922 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.5386, allocations: 39.83 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.377e-05/0.5387, allocations: 19.88 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.19e-05/0.5387, allocations: 3.984 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.5388, allocations: 4 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.5388, allocations: 11.98 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.5388, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.5389, allocations: 55.95 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.5389, allocations: 11.92 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.539, allocations: 4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.5391, allocations: 50.14 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5391, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5391, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.5391, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.7637 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.0003076/0.5394, allocations: 339.5 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5395, allocations: 8.031 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.5395, allocations: 38.75 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.5397, allocations: 16.91 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.821e-05/0.5398, allocations: 172.3 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.5398, allocations: 384 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.5398, allocations: 384 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.54, allocations: 46.23 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.54, allocations: 3.938 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.54, allocations: 3.938 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.54, allocations: 0 / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.54, allocations: 15.98 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.5402, allocations: 161.7 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.5422, allocations: 266.4 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.5423, allocations: 20.86 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.5423, allocations: 8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.5423, allocations: 34.55 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.5423, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001502/0.5425, allocations: 69.56 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.5425, allocations: 51.41 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.628e-05/0.5426, allocations: 93.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.5426, allocations: 25.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.5426, allocations: 88.27 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.5426, allocations: 15.75 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.5427, allocations: 17.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.5428, allocations: 314.8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.5428, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.5428, allocations: 8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.5429, allocations: 28.84 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5429, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.154e-05/0.543, allocations: 53.64 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.543, allocations: 17.17 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.543, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.543, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.5431, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5431, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.5431, allocations: 7.906 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.5431, allocations: 4 kB / 1.02 GB, free: 14.94 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 5.805e-05/0.5432, allocations: 109.8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.5432, allocations: 3.938 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.5432, allocations: 11.5 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.5432, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5433, allocations: 4.312 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.5433, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.801e-05/0.5434, allocations: 153.7 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5434, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.5434, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5434, allocations: 11.92 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.5434, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5434, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5435, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/0.5436, allocations: 89 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.5436, allocations: 81.11 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.5436, allocations: 7.922 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.5437, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.5437, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.5437, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.5438, allocations: 79.28 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5438, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001853/0.544, allocations: 12 kB / 1.021 GB, free: 14.27 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.0003203/0.5443, allocations: 0.6206 MB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.5444, allocations: 20 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5444, allocations: 4.094 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.5444, allocations: 15.98 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.5447, allocations: 11.94 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.5451, allocations: 158 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.5453, allocations: 0.677 MB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.904e-05/0.5453, allocations: 8 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.5454, allocations: 7.438 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5454, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009668/0.555, allocations: 1.167 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.5553, allocations: 211.4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.213, allocations: 1.266 kB / 1.024 GB, free: 11.34 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