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.005415/0.005415, allocations: 106.5 kB / 15.74 MB, free: 5.578 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.001359/0.001359, allocations: 189.6 kB / 16.67 MB, free: 5.516 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.423/2.423, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 1.018 GB, free: 9.949 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8676, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002908/0.8705, allocations: 1.268 MB / 1.167 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005941/0.8712, allocations: 297.5 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.8712, allocations: 0 / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.8712, allocations: 0 / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.8713, allocations: 11.91 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.8716, allocations: 39.77 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.415e-05/0.8717, allocations: 19.92 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.8717, allocations: 8 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/0.8718, allocations: 11.92 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.8718, allocations: 12 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.8718, allocations: 0 / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.872, allocations: 59.94 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.872, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.872, allocations: 7.938 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.8722, allocations: 50.14 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.8722, allocations: 4 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8722, allocations: 0 / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.8722, allocations: 0 / 1.168 GB, free: 2.031 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.0004283/0.8727, allocations: 331.5 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8727, allocations: 12.92 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.8728, allocations: 42.67 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.8731, allocations: 16.92 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.8732, allocations: 160.4 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.8732, allocations: 384 / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.8732, allocations: 4.375 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.8733, allocations: 46.23 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8733, allocations: 3.938 kB / 1.168 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.8734, allocations: 4 kB / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.8734, allocations: 3.938 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.8734, allocations: 16 kB / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.8736, allocations: 157.6 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.8755, allocations: 270.4 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.8755, allocations: 28.84 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.8756, allocations: 0 / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.8756, allocations: 34.56 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8756, allocations: 0 / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.8758, allocations: 65.56 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.8759, allocations: 59.41 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.8759, allocations: 89.86 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.8759, allocations: 25.7 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.876, allocations: 80.14 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.876, allocations: 23.73 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.8761, allocations: 13.72 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8762, allocations: 318.8 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.8762, allocations: 4.125 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.8763, allocations: 15.98 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.698e-05/0.8763, allocations: 25.19 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8763, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.637e-05/0.8764, allocations: 61.56 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8765, allocations: 7.938 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8765, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8765, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.8766, allocations: 8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8766, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.8766, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.8766, allocations: 4 kB / 1.17 GB, free: 15.9 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 7.21e-05/0.8767, allocations: 113.8 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.8767, allocations: 7.922 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.8767, allocations: 7.5 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.8768, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8768, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.8768, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.877, allocations: 157.7 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.877, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.877, allocations: 8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.877, allocations: 3.938 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.877, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.8771, allocations: 7.938 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.8771, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.8772, allocations: 81.03 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.8773, allocations: 85.03 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.8773, allocations: 7.938 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.8774, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.8774, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.8774, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.8774, allocations: 79.28 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.934e-06/0.8774, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000198/0.8776, allocations: 11.94 kB / 1.17 GB, free: 15.23 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.0003704/0.878, allocations: 0.6242 MB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.8781, allocations: 23.98 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8781, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.8782, allocations: 15.94 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.8784, allocations: 19.97 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.8789, allocations: 164.1 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.8792, allocations: 0.6729 MB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.8792, allocations: 4 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.8793, allocations: 11.44 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8793, allocations: 0 / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.8988, allocations: 1.322 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.844, allocations: 3.953 kB / 1.173 GB, free: 12.38 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=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