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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007197/0.007197, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001793/0.001793, allocations: 192.1 kB / 16.68 MB, free: 5.969 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.434/2.434, allocations: 437.1 MB / 0.7106 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 71.81 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8199, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002063/0.822, allocations: 1.268 MB / 1.167 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00051/0.8225, allocations: 297.6 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.8225, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.8226, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.496e-05/0.8226, allocations: 3.938 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.8229, allocations: 47.75 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.741e-05/0.8229, allocations: 23.86 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.237e-05/0.823, allocations: 4 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.823, allocations: 7.984 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.823, allocations: 8 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-06/0.823, allocations: 0 / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.8232, allocations: 59.95 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.8232, allocations: 3.938 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.8232, allocations: 8 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.8233, allocations: 51.67 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8234, allocations: 3.938 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8234, allocations: 0 / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.8234, allocations: 0 / 1.168 GB, free: 1.938 MB / 0.8887 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.0003476/0.8237, allocations: 339.2 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.8238, allocations: 8.922 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.8238, allocations: 38.69 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.824, allocations: 16.91 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.8241, allocations: 168.4 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.8241, allocations: 384 / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.8241, allocations: 384 / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.692e-05/0.8242, allocations: 42.25 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.8242, allocations: 3.938 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.8243, allocations: 4 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.8243, allocations: 0 / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.8243, allocations: 19.98 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.8245, allocations: 153.7 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.8262, allocations: 270.3 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.8262, allocations: 20.86 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.8263, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.8263, allocations: 38.56 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.8263, allocations: 0 / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001488/0.8264, allocations: 69.7 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.8265, allocations: 55.41 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.8266, allocations: 101.8 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.8266, allocations: 29.7 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.8266, allocations: 80.14 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.8266, allocations: 7.891 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.8267, allocations: 21.67 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.8268, allocations: 310.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.8268, allocations: 16.11 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.8269, allocations: 15.98 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.8269, allocations: 20.86 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8269, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.164e-05/0.827, allocations: 57.62 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.827, allocations: 11.94 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.827, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.827, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.8271, allocations: 7.984 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.8271, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.8271, allocations: 4 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.8271, allocations: 4 kB / 1.17 GB, free: 15.81 MB / 0.9044 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 6.759e-05/0.8272, allocations: 105.8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.8272, allocations: 15.88 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.8273, allocations: 3.5 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.8273, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.8273, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.8273, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.8274, allocations: 161.7 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.8274, allocations: 4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.8275, allocations: 8 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.8275, allocations: 7.922 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.8275, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8275, allocations: 3.938 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.8275, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.856e-05/0.8276, allocations: 73.12 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.8277, allocations: 85.06 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.8277, allocations: 7.938 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.8277, allocations: 7.938 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.8278, allocations: 7.984 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.8278, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.8278, allocations: 75.28 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8278, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001699/0.828, allocations: 8 kB / 1.17 GB, free: 15.14 MB / 0.9044 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.0003653/0.8283, allocations: 0.6164 MB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.286e-05/0.8284, allocations: 27.98 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.8284, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.567e-05/0.8285, allocations: 20.25 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.8287, allocations: 12 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.829, allocations: 155.4 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.8293, allocations: 0.6768 MB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.8293, allocations: 8.078 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.8294, allocations: 7.438 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.8294, allocations: 4 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2909/1.12, allocations: 1.317 MB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/9.882, allocations: 7.953 kB / 1.173 GB, free: 12.3 MB / 0.9044 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=400 --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