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.008127/0.008127, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001234/0.001234, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.168/2.168, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7724, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00195/0.7744, allocations: 1.28 MB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.7756, allocations: 0.8702 MB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.7757, allocations: 0 / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.7757, allocations: 4.641 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.66e-05/0.7757, allocations: 2.016 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.7763, allocations: 189.9 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.7764, allocations: 18.38 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.7764, allocations: 7.203 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.129e-05/0.7765, allocations: 8.203 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.7765, allocations: 10.02 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.7765, allocations: 0 / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.777, allocations: 239.8 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.777, allocations: 1.703 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.777, allocations: 9.125 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.7773, allocations: 153.1 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7773, allocations: 1.062 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7773, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.7773, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 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.00035/0.7777, allocations: 357 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7777, allocations: 9.781 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.407e-05/0.7778, allocations: 32.2 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.7779, allocations: 12.94 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.216e-05/0.778, allocations: 166.9 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.778, allocations: 5.719 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.778, allocations: 5.219 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.7782, allocations: 41.09 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7782, allocations: 5 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.7782, allocations: 0.7969 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7782, allocations: 0.875 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.7783, allocations: 19.78 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.7784, allocations: 157.4 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.7793, allocations: 142.5 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.7794, allocations: 18.97 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.7795, allocations: 84.42 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.7795, allocations: 31.72 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.7795, allocations: 0 / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001763/0.7797, allocations: 63.23 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.7797, allocations: 52.34 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.11e-05/0.7798, allocations: 95.92 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.7798, allocations: 27.02 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-06/0.7798, allocations: 84.88 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.7798, allocations: 18.52 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.7799, allocations: 18.19 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.7799, allocations: 316.6 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.7799, allocations: 5.547 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.78, allocations: 15.06 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.955e-05/0.78, allocations: 28.67 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.78, allocations: 0.625 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.011e-05/0.7801, allocations: 57.81 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.7801, allocations: 4.969 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.7801, allocations: 1.75 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.7801, allocations: 0 / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.7802, allocations: 15.05 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.7802, allocations: 0.7188 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.7803, allocations: 4.688 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.7803, allocations: 6.578 kB / 1.092 GB, free: 1.73 MB / 0.8575 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.241e-05/0.7803, allocations: 111.3 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.7803, allocations: 2.453 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.7806, allocations: 75.44 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7806, allocations: 4.781 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7806, allocations: 0 / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.7806, allocations: 1.547 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.009e-05/0.7807, allocations: 162.9 kB / 1.092 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7807, allocations: 0.875 kB / 1.092 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.7807, allocations: 12.56 kB / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7807, allocations: 0 / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.7807, allocations: 5.547 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.7808, allocations: 0.7188 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7808, allocations: 0.7188 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.7809, allocations: 93.61 kB / 1.092 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.7809, allocations: 85.56 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.7809, allocations: 1.578 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.781, allocations: 1 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.781, allocations: 6.953 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.781, allocations: 3.016 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.781, allocations: 79.97 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.781, allocations: 4.094 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002672/0.7813, allocations: 42.58 kB / 1.093 GB, free: 1.074 MB / 0.8575 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.0004961/0.7818, allocations: 0.695 MB / 1.093 GB, free: 452 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.7819, allocations: 30.97 kB / 1.093 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7819, allocations: 0.8438 kB / 1.093 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.782, allocations: 19.95 kB / 1.093 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.7821, allocations: 5.734 kB / 1.093 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.7826, allocations: 177.9 kB / 1.094 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.7828, allocations: 0.6756 MB / 1.094 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.203e-05/0.7828, allocations: 11.48 kB / 1.094 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.7829, allocations: 11.11 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7829, allocations: 1.031 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.7997, allocations: 1.981 MB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/8.056, allocations: 7.562 kB / 1.096 GB, free: 15.11 MB / 0.8731 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