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.0009002/0.0009002, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005755/0.005755, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.084/2.084, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5319/0.5323, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.0009761/0.5333, allocations: 0.9833 MB / 0.9561 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004259/0.5337, allocations: 293 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.5338, allocations: 0 / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.5338, allocations: 0 / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/0.5338, allocations: 9.391 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.534, allocations: 42.08 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.712e-05/0.5341, allocations: 17.22 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.892e-05/0.5341, allocations: 5.328 kB / 0.9565 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.5341, allocations: 8.344 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.5342, allocations: 7.047 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.5342, allocations: 1.469 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.5343, allocations: 51.42 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-06/0.5343, allocations: 9 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.5343, allocations: 41.44 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.5344, allocations: 46.83 kB / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5345, allocations: 0 / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5345, allocations: 0 / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.5345, allocations: 3.938 kB / 0.9566 GB, free: 6.508 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.000228/0.5347, allocations: 337.8 kB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5347, allocations: 9.344 kB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.303e-05/0.5348, allocations: 30.75 kB / 0.957 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.535, allocations: 24.59 kB / 0.957 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.667e-05/0.535, allocations: 161.7 kB / 0.9572 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.535, allocations: 4.312 kB / 0.9572 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-06/0.535, allocations: 2.344 kB / 0.9572 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.981e-05/0.5351, allocations: 41.34 kB / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.5351, allocations: 3.938 kB / 0.9572 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.5352, allocations: 5.188 kB / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.5352, allocations: 0 / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.5352, allocations: 20.7 kB / 0.9573 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.764e-05/0.5353, allocations: 154.9 kB / 0.9574 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.537, allocations: 277.1 kB / 0.9577 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.537, allocations: 17.8 kB / 0.9577 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.5371, allocations: 0 / 0.9577 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.5371, allocations: 32.34 kB / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.5371, allocations: 0 / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001166/0.5372, allocations: 64.94 kB / 0.9578 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.5372, allocations: 51.41 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.78e-05/0.5373, allocations: 99.22 kB / 0.9579 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.5373, allocations: 27.02 kB / 0.9579 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-06/0.5373, allocations: 84.08 kB / 0.958 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.5373, allocations: 18.31 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.5373, allocations: 9.719 kB / 0.9581 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.5374, allocations: 312.1 kB / 0.9584 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.5374, allocations: 13.05 kB / 0.9584 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.5374, allocations: 9.312 kB / 0.9584 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.5375, allocations: 28.14 kB / 0.9584 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5375, allocations: 0 / 0.9584 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.668e-05/0.5375, allocations: 60.48 kB / 0.9585 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5375, allocations: 9.5 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.5376, allocations: 0 / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.5376, allocations: 1.312 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.816e-05/0.5376, allocations: 8.156 kB / 0.9585 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.5376, allocations: 5.391 kB / 0.9585 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.5377, allocations: 3.938 kB / 0.9585 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-06/0.5377, allocations: 1.375 kB / 0.9585 GB, free: 4.699 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.039e-05/0.5377, allocations: 116 kB / 0.9586 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.5377, allocations: 5.031 kB / 0.9586 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.5378, allocations: 7.5 kB / 0.9586 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5378, allocations: 1.062 kB / 0.9586 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5378, allocations: 1.625 kB / 0.9586 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.5378, allocations: 0 / 0.9586 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.875e-05/0.5378, allocations: 157.7 kB / 0.9588 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5378, allocations: 4 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.5379, allocations: 6.375 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5379, allocations: 7.938 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.5379, allocations: 5.547 kB / 0.9588 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5379, allocations: 0 / 0.9588 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5379, allocations: 0 / 0.9588 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.52e-05/0.538, allocations: 82.16 kB / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.538, allocations: 78.14 kB / 0.9589 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.538, allocations: 5.219 kB / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.5381, allocations: 1.344 kB / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.5381, allocations: 9.297 kB / 0.959 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.5381, allocations: 1.312 kB / 0.959 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.28e-05/0.5381, allocations: 76.25 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5381, allocations: 0 / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001738/0.5383, allocations: 10.06 kB / 0.959 GB, free: 4.082 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.0001938/0.5385, allocations: 0.6187 MB / 0.9596 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.189e-05/0.5386, allocations: 21.58 kB / 0.9597 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.5386, allocations: 1.062 kB / 0.9597 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.5386, allocations: 12.22 kB / 0.9597 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.5388, allocations: 13.36 kB / 0.9597 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.5391, allocations: 174.8 kB / 0.9599 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.021e-05/0.5392, allocations: 0.6775 MB / 0.9605 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.05e-05/0.5392, allocations: 1.281 kB / 0.9605 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.5393, allocations: 17.66 kB / 0.9605 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5393, allocations: 0 / 0.9605 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.754/2.293, allocations: 1.106 MB / 0.9616 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/2.293, allocations: 207.7 kB / 0.9618 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/4.533, allocations: 3.938 kB / 0.9618 GB, free: 1.77 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