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.005684/0.005684, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001188/0.001188, allocations: 195.5 kB / 16.67 MB, free: 5.973 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.338/2.338, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 58.41 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2599, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002537/0.2625, allocations: 1.272 MB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.264, allocations: 0.8631 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.2641, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.2641, allocations: 3.984 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.2642, allocations: 3.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.2648, allocations: 202.2 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.2649, allocations: 19.88 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.265, allocations: 11.92 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.265, allocations: 7.984 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.2651, allocations: 4 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.2651, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.2655, allocations: 235.7 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.2655, allocations: 7.922 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.2655, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.2658, allocations: 155.7 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.2658, allocations: 8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2658, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2659, allocations: 0 / 1.09 GB, free: 15.18 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.0004538/0.2663, allocations: 356.3 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2664, allocations: 12.03 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.2664, allocations: 34.75 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.2666, allocations: 8.922 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2667, allocations: 160.4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2667, allocations: 4.375 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2667, allocations: 7.938 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.2669, allocations: 41.69 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2669, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2669, allocations: 3.984 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2669, allocations: 3.938 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.267, allocations: 12 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.2671, allocations: 165.6 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/0.2681, allocations: 134.4 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.2681, allocations: 24.91 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.2682, allocations: 81.11 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2683, allocations: 34.56 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.2683, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001733/0.2685, allocations: 69.61 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2685, allocations: 51.41 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.2686, allocations: 93.86 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2686, allocations: 25.7 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.2686, allocations: 80.14 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.2687, allocations: 15.75 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.2687, allocations: 17.7 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.2688, allocations: 323 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.2688, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.2689, allocations: 11.98 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.2689, allocations: 29.08 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2689, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9e-05/0.269, allocations: 65.55 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.269, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2691, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2691, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.2691, allocations: 8 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2692, allocations: 7.984 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.2692, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2692, allocations: 0 / 1.092 GB, free: 13.07 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 7.23e-05/0.2693, allocations: 117.8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.2693, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.2695, allocations: 81.11 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2696, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2696, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2696, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.2697, allocations: 165.6 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2697, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.2698, allocations: 7.984 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2698, allocations: 3.938 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2698, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2698, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2698, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.2699, allocations: 93.03 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.27, allocations: 77.11 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.27, allocations: 11.98 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.27, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2701, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.2701, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.2701, allocations: 79.28 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2701, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002472/0.2704, allocations: 47.98 kB / 1.093 GB, free: 12.27 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.0006006/0.271, allocations: 0.6985 MB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.2711, allocations: 27.98 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2711, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.2711, allocations: 12 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.2713, allocations: 4 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.2718, allocations: 172.2 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.272, allocations: 0.6807 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.198e-05/0.2721, allocations: 8 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.2721, allocations: 15.42 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2721, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.2903, allocations: 1.99 MB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/7.996, allocations: 5.484 kB / 1.096 GB, free: 8.699 MB / 0.8575 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