Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_9_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.006037/0.006037, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001168/0.001169, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 68.02 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.309, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.004212/0.3132, allocations: 1.258 MB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3143, allocations: 299.4 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.3144, allocations: 3.938 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3144, allocations: 0 / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.999e-05/0.3145, allocations: 11.92 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.315, allocations: 47.75 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.3151, allocations: 15.94 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.893e-05/0.3152, allocations: 11.98 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.3153, allocations: 7.984 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.3154, allocations: 3.938 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3154, allocations: 4 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.3157, allocations: 51.95 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.3157, allocations: 4 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.3158, allocations: 7.984 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.316, allocations: 50.7 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.316, allocations: 0 / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.434e-06/0.316, allocations: 0 / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.3161, allocations: 4 kB / 1.089 GB, free: 212 kB / 0.8419 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.00059/0.3167, allocations: 336.4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/0.3167, allocations: 12.03 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.702e-05/0.3168, allocations: 34.75 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.3172, allocations: 24.91 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3174, allocations: 160.4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3174, allocations: 4.312 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.3174, allocations: 4.375 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3176, allocations: 42.25 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3177, allocations: 3.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.3177, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3177, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.3178, allocations: 15.98 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.3181, allocations: 161.7 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.3213, allocations: 270.3 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.3214, allocations: 24.8 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.3214, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.3214, allocations: 30.56 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.3215, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002987/0.3218, allocations: 69.67 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3218, allocations: 51.41 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.322, allocations: 97.84 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.322, allocations: 25.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.3221, allocations: 84.08 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.3221, allocations: 7.906 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.3222, allocations: 13.84 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.3224, allocations: 314.8 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.3224, allocations: 15.98 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.3225, allocations: 12.03 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.3226, allocations: 24.86 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3226, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001744/0.3228, allocations: 57.59 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.3228, allocations: 7.938 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3229, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3229, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.323, allocations: 15.92 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.323, allocations: 4 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.3231, allocations: 3.938 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3231, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 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.0001295/0.3233, allocations: 109.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3233, allocations: 7.938 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.3234, allocations: 7.5 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3234, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3234, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3234, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3236, allocations: 161.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3237, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.3237, allocations: 7.984 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.3238, allocations: 3.938 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3238, allocations: 3.938 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3238, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3238, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.324, allocations: 93.06 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3241, allocations: 81.02 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3242, allocations: 3.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.3243, allocations: 11.92 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.3243, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3243, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.33e-05/0.3244, allocations: 79.28 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.71e-07/0.3244, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003553/0.3248, allocations: 8 kB / 1.092 GB, free: 13.4 MB / 0.8575 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.0006182/0.3254, allocations: 0.6218 MB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3256, allocations: 19.98 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3256, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.261e-05/0.3257, allocations: 16.31 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3261, allocations: 19.98 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000688/0.3269, allocations: 148.3 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3273, allocations: 0.6768 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.707e-05/0.3274, allocations: 12.08 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3275, allocations: 7.438 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.3275, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.3519, allocations: 1.326 MB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.684, allocations: 9.172 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches