Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_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.009771/0.009771, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002835/0.002835, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.85/2.85, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 68.25 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3183, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002466/0.3208, allocations: 1.267 MB / 1.209 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.3215, allocations: 283.1 kB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.3215, allocations: 4 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.3215, allocations: 3.984 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.3216, allocations: 3.938 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.322, allocations: 47.7 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.3221, allocations: 19.91 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.3221, allocations: 12 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.3222, allocations: 4 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.3222, allocations: 7.984 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3222, allocations: 0 / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3224, allocations: 55.89 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.3224, allocations: 0 / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.3224, allocations: 8 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.3226, allocations: 56.09 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3226, allocations: 0 / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3226, allocations: 4 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3226, allocations: 0 / 1.209 GB, free: 8.395 MB / 0.9669 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.0004006/0.323, allocations: 339.5 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3231, allocations: 12.56 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.3231, allocations: 30.75 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.3234, allocations: 20.83 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3235, allocations: 168.4 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3235, allocations: 4.375 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.3235, allocations: 4.375 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3236, allocations: 46.25 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3237, allocations: 3.938 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3237, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3237, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.679e-05/0.3237, allocations: 15.98 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.3239, allocations: 153.6 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.3259, allocations: 270.5 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.3259, allocations: 20.84 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.3259, allocations: 0 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.326, allocations: 34.56 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.326, allocations: 11.88 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001774/0.3262, allocations: 65.56 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.3262, allocations: 55.41 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.3263, allocations: 93.86 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3263, allocations: 25.7 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.3264, allocations: 84.12 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.3264, allocations: 11.81 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.3264, allocations: 13.72 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3266, allocations: 319 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.3266, allocations: 11.98 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.3266, allocations: 8 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.145e-05/0.3267, allocations: 28.86 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3267, allocations: 0 / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.081e-05/0.3268, allocations: 57.62 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3268, allocations: 9.656 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.3268, allocations: 3.984 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3268, allocations: 336 / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.3269, allocations: 8 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3269, allocations: 4 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.3269, allocations: 0 / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3269, allocations: 3.984 kB / 1.211 GB, free: 6.262 MB / 0.9669 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.948e-05/0.327, allocations: 109.8 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.327, allocations: 7.922 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.3271, allocations: 7.5 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3271, allocations: 0 / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3271, allocations: 0 / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3271, allocations: 4 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.3272, allocations: 165.6 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3272, allocations: 0 / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.3273, allocations: 8 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3273, allocations: 7.875 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.3273, allocations: 0 / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3273, allocations: 4 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3273, allocations: 0 / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.3274, allocations: 84.95 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.3275, allocations: 81.11 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3275, allocations: 3.938 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.3276, allocations: 8 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.3276, allocations: 0 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3276, allocations: 3.984 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.3276, allocations: 79.28 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3276, allocations: 0 / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001886/0.3278, allocations: 7.938 kB / 1.211 GB, free: 5.594 MB / 0.9669 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.0003504/0.3282, allocations: 0.6203 MB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.3283, allocations: 23.98 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3283, allocations: 0 / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.3283, allocations: 19.94 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3286, allocations: 7.984 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.3291, allocations: 164.1 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3293, allocations: 0.6729 MB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.722e-05/0.3294, allocations: 11.84 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.3294, allocations: 7.438 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.3294, allocations: 0 / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.3464, allocations: 1.338 MB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.88, allocations: 11.94 kB / 1.214 GB, free: 2.742 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches