Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_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.006915/0.006915, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001801/0.001801, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.713/2.713, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.25 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2882, allocations: 162.3 MB / 1.242 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002218/0.2905, allocations: 1.274 MB / 1.243 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2918, allocations: 0.8553 MB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.885e-05/0.2918, allocations: 0 / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.2919, allocations: 4 kB / 1.244 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.2919, allocations: 11.92 kB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.2925, allocations: 191.6 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.2926, allocations: 15.94 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 2.978e-05/0.2926, allocations: 4 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.2926, allocations: 7.984 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.2927, allocations: 11.92 kB / 1.244 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.2927, allocations: 4 kB / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.2931, allocations: 235.7 kB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.2931, allocations: 0 / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.2931, allocations: 11.94 kB / 1.244 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2934, allocations: 147.7 kB / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2934, allocations: 0 / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2934, allocations: 0 / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2934, allocations: 0 / 1.245 GB, free: 6.117 MB / 0.9669 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.0004242/0.2938, allocations: 371.1 kB / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2939, allocations: 15.97 kB / 1.245 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.2939, allocations: 38.73 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.2941, allocations: 4.938 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2942, allocations: 164.4 kB / 1.245 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.2942, allocations: 384 / 1.245 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.2942, allocations: 7.938 kB / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.2943, allocations: 41.69 kB / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2944, allocations: 0 / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2944, allocations: 4 kB / 1.245 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2944, allocations: 0 / 1.245 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.114e-05/0.2944, allocations: 19.98 kB / 1.245 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.2946, allocations: 157.6 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/0.2955, allocations: 130.5 kB / 1.245 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.2955, allocations: 20.84 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.2956, allocations: 93.09 kB / 1.246 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2957, allocations: 34.56 kB / 1.246 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2957, allocations: 3.938 kB / 1.246 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.2959, allocations: 61.62 kB / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2959, allocations: 51.41 kB / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.103e-05/0.296, allocations: 93.84 kB / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.296, allocations: 33.7 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.296, allocations: 84.27 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.2961, allocations: 11.84 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.2961, allocations: 17.72 kB / 1.246 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2962, allocations: 314.8 kB / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.2963, allocations: 8 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.2963, allocations: 8 kB / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.2963, allocations: 24.84 kB / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2963, allocations: 0 / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.303e-05/0.2964, allocations: 73.45 kB / 1.246 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2965, allocations: 8 kB / 1.246 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2965, allocations: 4 kB / 1.246 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.2965, allocations: 0 / 1.246 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.2965, allocations: 4 kB / 1.246 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2965, allocations: 4 kB / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.2966, allocations: 0 / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2966, allocations: 0 / 1.246 GB, free: 3.996 MB / 0.9669 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.746e-05/0.2967, allocations: 117.8 kB / 1.246 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.2967, allocations: 3.984 kB / 1.246 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.2969, allocations: 81.11 kB / 1.247 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2969, allocations: 4 kB / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2969, allocations: 0 / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2969, allocations: 0 / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.2971, allocations: 161.6 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2971, allocations: 4 kB / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.2971, allocations: 8 kB / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2971, allocations: 0 / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2971, allocations: 0 / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2972, allocations: 4 kB / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2972, allocations: 0 / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.2973, allocations: 96.94 kB / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.2973, allocations: 77.11 kB / 1.247 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.2974, allocations: 4 kB / 1.247 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.2974, allocations: 11.94 kB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.2974, allocations: 3.984 kB / 1.247 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2975, allocations: 4 kB / 1.247 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.2975, allocations: 75.28 kB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2975, allocations: 0 / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002249/0.2977, allocations: 47.88 kB / 1.247 GB, free: 3.203 MB / 0.9669 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.0006458/0.2984, allocations: 0.7021 MB / 1.248 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.578e-05/0.2985, allocations: 31.88 kB / 1.248 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.2985, allocations: 0 / 1.248 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.2985, allocations: 19.98 kB / 1.248 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.2987, allocations: 12 kB / 1.248 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.2991, allocations: 172 kB / 1.248 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.2994, allocations: 0.6768 MB / 1.249 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.131e-05/0.2994, allocations: 12 kB / 1.249 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.2995, allocations: 7.438 kB / 1.249 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.2995, allocations: 4 kB / 1.249 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/0.4287, allocations: 1.98 MB / 1.251 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.455, allocations: 1.844 kB / 1.251 GB, free: 15.64 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches