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.001302/0.001302, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 60.39 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2544, allocations: 159.1 MB / 1.064 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002489/0.257, allocations: 1.268 MB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005334/0.2575, allocations: 287.1 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.2576, allocations: 3.938 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.2576, allocations: 7.875 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.2577, allocations: 4 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.258, allocations: 47.75 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.191e-05/0.258, allocations: 19.86 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.2581, allocations: 15.98 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.2581, allocations: 4 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.2582, allocations: 3.938 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.2582, allocations: 4 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2583, allocations: 51.95 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.2583, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.2584, allocations: 11.98 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.2585, allocations: 52.11 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2585, allocations: 0 / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2585, allocations: 0 / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2585, allocations: 4 kB / 1.065 GB, free: 12.65 MB / 0.8262 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.000329/0.2589, allocations: 331.6 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2589, allocations: 12.03 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.259, allocations: 30.75 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.2592, allocations: 20.91 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.2593, allocations: 164.3 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2593, allocations: 4.375 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.2593, allocations: 4.375 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.2594, allocations: 46.19 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2594, allocations: 3.938 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2594, allocations: 4 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.2595, allocations: 0 / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.2595, allocations: 15.98 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.2597, allocations: 153.7 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.2615, allocations: 270.4 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.2615, allocations: 16.86 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.2615, allocations: 3.938 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2616, allocations: 38.5 kB / 1.066 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.2616, allocations: 4 kB / 1.066 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001503/0.2617, allocations: 69.52 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2618, allocations: 51.41 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.2618, allocations: 97.86 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2618, allocations: 25.7 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.2619, allocations: 80.14 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.2619, allocations: 3.906 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.2619, allocations: 17.84 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.262, allocations: 318.8 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.2621, allocations: 15.94 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.2621, allocations: 7.938 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.2621, allocations: 33.12 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2621, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.078e-05/0.2622, allocations: 53.59 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2623, allocations: 11.94 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2623, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2623, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.2624, allocations: 11.98 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2624, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.2624, allocations: 4 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.2624, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 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.359e-05/0.2625, allocations: 109.8 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.2625, allocations: 7.938 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.2625, allocations: 7.5 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2625, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2625, allocations: 4 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2626, allocations: 4 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.795e-05/0.2627, allocations: 161.6 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2627, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.2627, allocations: 11.98 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2627, allocations: 3.938 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2627, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2627, allocations: 3.938 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2627, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.859e-05/0.2629, allocations: 81.12 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.2629, allocations: 81.02 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2629, allocations: 7.875 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.263, allocations: 11.98 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.263, allocations: 0 / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.263, allocations: 0 / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.68e-05/0.2631, allocations: 75.28 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2631, allocations: 4 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001809/0.2632, allocations: 4 kB / 1.068 GB, free: 9.859 MB / 0.8262 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.0003214/0.2636, allocations: 0.617 MB / 1.068 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.168e-05/0.2637, allocations: 27.92 kB / 1.068 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2637, allocations: 0 / 1.068 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.457e-05/0.2637, allocations: 15.98 kB / 1.068 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.2639, allocations: 15.94 kB / 1.068 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.2643, allocations: 144.4 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.2646, allocations: 0.6806 MB / 1.069 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.037e-05/0.2646, allocations: 8.328 kB / 1.069 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.2646, allocations: 7.438 kB / 1.069 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2646, allocations: 0 / 1.069 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7625/1.027, allocations: 1.3 MB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/9.488, allocations: 14.88 kB / 1.071 GB, free: 7.031 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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