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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001123/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001169/0.001169, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.84 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6355, allocations: 140.4 MB / 0.949 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001973/0.6375, allocations: 1.321 MB / 0.9503 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004717/0.638, allocations: 294.2 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.638, allocations: 3.938 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.638, allocations: 0 / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.215e-05/0.6381, allocations: 9.297 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.6383, allocations: 46.77 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.569e-05/0.6384, allocations: 20.17 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.6384, allocations: 1.375 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.6384, allocations: 8.109 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.99e-05/0.6385, allocations: 6.734 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.6385, allocations: 5.312 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.6386, allocations: 56.77 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.6386, allocations: 4 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.6387, allocations: 4.125 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.6388, allocations: 50.89 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6388, allocations: 3.984 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6388, allocations: 4 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6388, allocations: 0 / 0.9508 GB, free: 7.738 MB / 0.7169 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.0002868/0.6391, allocations: 339.8 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.6391, allocations: 9.625 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.6392, allocations: 34.75 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.6394, allocations: 17.3 kB / 0.9512 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.049e-05/0.6395, allocations: 164.4 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.6395, allocations: 5.75 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.6395, allocations: 1.75 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.425e-05/0.6396, allocations: 41.12 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.6396, allocations: 3.938 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.6396, allocations: 1.375 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.6396, allocations: 3.984 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.6397, allocations: 17.56 kB / 0.9514 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.6398, allocations: 157.8 kB / 0.9516 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.6416, allocations: 264.4 kB / 0.9518 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.6417, allocations: 25.16 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.6417, allocations: 1.312 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.6417, allocations: 35.81 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.6417, allocations: 3.938 kB / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001398/0.6419, allocations: 69.66 kB / 0.952 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.6419, allocations: 51.41 kB / 0.952 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.509e-05/0.6419, allocations: 91.02 kB / 0.9521 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.6419, allocations: 27.08 kB / 0.9521 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.061e-05/0.642, allocations: 80.14 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.642, allocations: 22.33 kB / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.642, allocations: 16.69 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.201e-05/0.6421, allocations: 312.1 kB / 0.9525 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.6421, allocations: 11.75 kB / 0.9526 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.6421, allocations: 13.23 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.6422, allocations: 27.45 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6422, allocations: 0 / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.692e-05/0.6422, allocations: 57.53 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6423, allocations: 8.469 kB / 0.9527 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.6423, allocations: 5.219 kB / 0.9527 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.6423, allocations: 0 / 0.9527 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.6423, allocations: 5.5 kB / 0.9527 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.6424, allocations: 1.438 kB / 0.9527 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.6424, allocations: 0 / 0.9527 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.6424, allocations: 1.562 kB / 0.9527 GB, free: 5.93 MB / 0.7169 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 4.247e-05/0.6424, allocations: 115.2 kB / 0.9528 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.6425, allocations: 9.281 kB / 0.9528 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.6425, allocations: 7.5 kB / 0.9528 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6425, allocations: 5.219 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6425, allocations: 3.938 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6425, allocations: 1.312 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.832e-05/0.6426, allocations: 154 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.6426, allocations: 0 / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.6426, allocations: 5.875 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6426, allocations: 3.938 kB / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.6426, allocations: 0.9219 kB / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6426, allocations: 1.406 kB / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6427, allocations: 0 / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.971e-05/0.6427, allocations: 89.14 kB / 0.9531 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.6428, allocations: 83.59 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.6428, allocations: 3.938 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.6429, allocations: 1.094 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.6429, allocations: 2.594 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.6429, allocations: 0 / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.573e-05/0.6429, allocations: 85.02 kB / 0.9532 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6429, allocations: 96 / 0.9532 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001753/0.6431, allocations: 14.31 kB / 0.9532 GB, free: 5.301 MB / 0.7169 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.0002159/0.6433, allocations: 0.6111 MB / 0.9538 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.6434, allocations: 22.2 kB / 0.9539 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6434, allocations: 3.938 kB / 0.9539 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.6434, allocations: 16.59 kB / 0.9539 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.6436, allocations: 13.98 kB / 0.9539 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.644, allocations: 164.7 kB / 0.954 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.6441, allocations: 0.677 MB / 0.9547 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.6441, allocations: 10.2 kB / 0.9547 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.6442, allocations: 9.594 kB / 0.9547 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6442, allocations: 0 / 0.9547 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.6643, allocations: 1.163 MB / 0.9559 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/0.6645, allocations: 220.3 kB / 0.9561 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.289, allocations: 4 kB / 0.9561 GB, free: 2.906 MB / 0.7169 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