Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_TDewPoi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001548/0.001548, allocations: 108 kB / 15.61 MB, free: 152 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.001701/0.001701, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4638, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001707/0.4656, allocations: 1.259 MB / 0.951 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.4665, allocations: 0.8703 MB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.4665, allocations: 0 / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.4665, allocations: 0 / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.4666, allocations: 9.172 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.4671, allocations: 194.3 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.849e-05/0.4671, allocations: 22.08 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.069e-05/0.4672, allocations: 1.156 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.684e-05/0.4672, allocations: 7.906 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.4672, allocations: 4.188 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.4673, allocations: 3.938 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.4675, allocations: 197.4 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.4675, allocations: 1.344 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.4676, allocations: 11.83 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.4678, allocations: 156 kB / 0.9524 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.4678, allocations: 4 kB / 0.9524 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4678, allocations: 0 / 0.9524 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.4678, allocations: 5.094 kB / 0.9524 GB, free: 7.141 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.0002602/0.468, allocations: 353.7 kB / 0.9527 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.4681, allocations: 9.688 kB / 0.9527 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.982e-05/0.4681, allocations: 36.22 kB / 0.9528 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.4682, allocations: 9.172 kB / 0.9528 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.878e-05/0.4683, allocations: 165.9 kB / 0.9529 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.4683, allocations: 384 / 0.9529 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.4683, allocations: 9.281 kB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.473e-05/0.4684, allocations: 42.38 kB / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.4684, allocations: 0 / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.4684, allocations: 0 / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4684, allocations: 1.375 kB / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.4685, allocations: 24.59 kB / 0.953 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.127e-05/0.4686, allocations: 153.4 kB / 0.9532 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/0.4694, allocations: 138.3 kB / 0.9533 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.4695, allocations: 17.17 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.899e-05/0.4695, allocations: 85.81 kB / 0.9534 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.06e-05/0.4696, allocations: 31.78 kB / 0.9534 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.4696, allocations: 1.125 kB / 0.9534 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001322/0.4697, allocations: 69.47 kB / 0.9535 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.494e-05/0.4697, allocations: 51.41 kB / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.821e-05/0.4698, allocations: 92.02 kB / 0.9536 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.4698, allocations: 25.7 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-06/0.4698, allocations: 84.12 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.4698, allocations: 22.05 kB / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.4698, allocations: 14.06 kB / 0.9538 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.4699, allocations: 322.9 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.4699, allocations: 8.609 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.4699, allocations: 9.438 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.47, allocations: 27.73 kB / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.47, allocations: 0 / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.085e-05/0.47, allocations: 57.22 kB / 0.9542 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.4701, allocations: 9.578 kB / 0.9542 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.4701, allocations: 0 / 0.9542 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.4701, allocations: 0.9062 kB / 0.9542 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.4701, allocations: 8.938 kB / 0.9542 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.4701, allocations: 5.5 kB / 0.9542 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.4702, allocations: 0 / 0.9542 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.4702, allocations: 1.219 kB / 0.9542 GB, free: 5.266 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 3.68e-05/0.4702, allocations: 112.9 kB / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.4702, allocations: 5.219 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.4704, allocations: 89.56 kB / 0.9544 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4704, allocations: 1.219 kB / 0.9544 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.4704, allocations: 0 / 0.9544 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4704, allocations: 1.219 kB / 0.9544 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.699e-05/0.4705, allocations: 158.7 kB / 0.9546 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4705, allocations: 1.25 kB / 0.9546 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.4706, allocations: 10.25 kB / 0.9546 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4706, allocations: 1.406 kB / 0.9546 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.4706, allocations: 0 / 0.9546 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.4706, allocations: 5.5 kB / 0.9546 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4706, allocations: 0 / 0.9546 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.124e-05/0.4707, allocations: 89.05 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.4707, allocations: 87.19 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.4707, allocations: 1.25 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.341e-05/0.4708, allocations: 5.172 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.4708, allocations: 2.312 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4708, allocations: 9.484 kB / 0.9548 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.297e-05/0.4708, allocations: 80.59 kB / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4708, allocations: 0 / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002107/0.471, allocations: 40.19 kB / 0.9549 GB, free: 4.578 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 (5): * Single equations (assignments): 5 * 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.0003886/0.4714, allocations: 0.7143 MB / 0.9556 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.509e-05/0.4715, allocations: 28.48 kB / 0.9556 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4715, allocations: 1.25 kB / 0.9556 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.4716, allocations: 21.33 kB / 0.9556 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.4717, allocations: 4.828 kB / 0.9556 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.472, allocations: 168.7 kB / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.4721, allocations: 0.6777 MB / 0.9564 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.491e-05/0.4722, allocations: 9.328 kB / 0.9565 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.4722, allocations: 14.47 kB / 0.9565 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4722, allocations: 4 kB / 0.9565 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.721/2.193, allocations: 1.922 MB / 0.9583 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/14.68, allocations: 16.75 kB / 0.9584 GB, free: 1.953 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches