Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_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.005265/0.005265, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.0014/0.0014, allocations: 193.8 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.397/1.397, 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 12.0.0-master/package.mo): time 2.723/2.723, allocations: 482.6 MB / 0.755 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 69.06 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 162.3 MB / 1.242 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002983/0.3186, allocations: 1.258 MB / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007446/0.3194, allocations: 299.3 kB / 1.243 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.3194, allocations: 0 / 1.243 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.3194, allocations: 0 / 1.243 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.3195, allocations: 3.938 kB / 1.243 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.3199, allocations: 59.73 kB / 1.243 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.3199, allocations: 15.94 kB / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.32, allocations: 0 / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.918e-05/0.32, allocations: 7.938 kB / 1.243 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.3201, allocations: 11.98 kB / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3201, allocations: 3.938 kB / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.3203, allocations: 55.95 kB / 1.244 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.3203, allocations: 0 / 1.244 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.3204, allocations: 11.92 kB / 1.244 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3206, allocations: 44.17 kB / 1.244 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.3206, allocations: 8 kB / 1.244 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3206, allocations: 3.938 kB / 1.244 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3206, allocations: 0 / 1.244 GB, free: 7.16 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.0004678/0.3211, allocations: 335.3 kB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3211, allocations: 8.031 kB / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.3212, allocations: 38.75 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.3215, allocations: 12.92 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3217, allocations: 176.2 kB / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3217, allocations: 4.375 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3217, allocations: 384 / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.3219, allocations: 42.25 kB / 1.244 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3219, allocations: 3.938 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3219, allocations: 0 / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3219, allocations: 4 kB / 1.244 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.322, allocations: 23.98 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.3222, allocations: 149.7 kB / 1.244 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.325, allocations: 270.4 kB / 1.245 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.3251, allocations: 20.86 kB / 1.245 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3251, allocations: 4 kB / 1.245 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3251, allocations: 34.56 kB / 1.245 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.3251, allocations: 0 / 1.245 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002284/0.3254, allocations: 65.62 kB / 1.245 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3254, allocations: 51.41 kB / 1.245 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.3255, allocations: 97.78 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3256, allocations: 29.7 kB / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.3256, allocations: 84.12 kB / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.3257, allocations: 16.03 kB / 1.245 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.3257, allocations: 13.72 kB / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3259, allocations: 314.8 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.326, allocations: 7.984 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.326, allocations: 8 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.937e-05/0.3261, allocations: 24.86 kB / 1.245 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3261, allocations: 3.938 kB / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.3263, allocations: 57.97 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3263, allocations: 9.969 kB / 1.245 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3263, allocations: 15.92 kB / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3264, allocations: 0 / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.3264, allocations: 7.938 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3265, allocations: 0 / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.3265, allocations: 3.984 kB / 1.245 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3265, allocations: 4 kB / 1.245 GB, free: 5.023 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 9.887e-05/0.3266, allocations: 109.8 kB / 1.246 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.3267, allocations: 3.938 kB / 1.246 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.3267, allocations: 15.5 kB / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3267, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3267, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3268, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3269, allocations: 153.7 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.327, allocations: 0 / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.327, allocations: 8 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3271, allocations: 3.938 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3271, allocations: 0 / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.3271, allocations: 3.984 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3271, allocations: 0 / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3273, allocations: 85.06 kB / 1.246 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.3274, allocations: 89 kB / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3274, allocations: 3.938 kB / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.3275, allocations: 0 / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.3275, allocations: 11.98 kB / 1.246 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3276, allocations: 0 / 1.246 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.28e-05/0.3276, allocations: 75.28 kB / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3276, allocations: 4.094 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003493/0.328, allocations: 12 kB / 1.246 GB, free: 4.359 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 (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.0005883/0.3286, allocations: 0.6129 MB / 1.247 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3287, allocations: 23.98 kB / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3288, allocations: 0 / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.3288, allocations: 19.94 kB / 1.247 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.3292, allocations: 11.98 kB / 1.247 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.3298, allocations: 156.1 kB / 1.247 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.3302, allocations: 0.6768 MB / 1.247 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.702e-05/0.3303, allocations: 8 kB / 1.247 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.3304, allocations: 7.438 kB / 1.247 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.3304, allocations: 0 / 1.247 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2972/0.6276, allocations: 1.32 MB / 1.249 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.31, allocations: 13.23 kB / 1.249 GB, free: 1.527 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches