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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 100.1 kB / 15.88 MB, free: 12 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.00145/0.00145, allocations: 195.9 kB / 16.79 MB, free: 6.809 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.434/1.434, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.31 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3835, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00323/0.3868, allocations: 1.329 MB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007076/0.3875, allocations: 303.1 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.3875, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.3876, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.3877, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.388, allocations: 47.75 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.3881, allocations: 23.86 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.137e-05/0.3882, allocations: 4 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.3882, allocations: 4 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.3883, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3883, allocations: 4 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3885, allocations: 63.88 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.3885, allocations: 3.984 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3886, allocations: 8 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.3887, allocations: 36.19 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3887, allocations: 0 / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3887, allocations: 0 / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3887, allocations: 0 / 1.055 GB, free: 6.488 MB / 0.8106 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.0004845/0.3892, allocations: 339.5 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3893, allocations: 8.031 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.3896, allocations: 16.92 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3897, allocations: 168.3 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3897, allocations: 12.38 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3897, allocations: 384 / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3899, allocations: 46.19 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3899, allocations: 4.172 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3899, allocations: 3.938 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3899, allocations: 0 / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.981e-05/0.39, allocations: 12 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.3902, allocations: 153.7 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.3922, allocations: 270.5 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.3922, allocations: 20.84 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3922, allocations: 3.938 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3923, allocations: 42.56 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3923, allocations: 0 / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001906/0.3925, allocations: 61.62 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.3925, allocations: 51.41 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.3926, allocations: 93.86 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3926, allocations: 25.7 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.3926, allocations: 84.12 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.3927, allocations: 15.92 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.3927, allocations: 25.66 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3928, allocations: 310.8 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.3929, allocations: 11.94 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.3929, allocations: 7.984 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.3929, allocations: 28.86 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.393, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.54e-05/0.3931, allocations: 53.69 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3931, allocations: 4 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3931, allocations: 7.938 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3931, allocations: 3.938 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.3932, allocations: 8 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3932, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.3932, allocations: 7.844 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3932, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 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.815e-05/0.3933, allocations: 113.8 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.3933, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.3934, allocations: 11.44 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3934, allocations: 4 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3934, allocations: 4 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3934, allocations: 336 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.3935, allocations: 157.7 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3935, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.3936, allocations: 4 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.3936, allocations: 4 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3936, allocations: 7.938 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3936, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3936, allocations: 3.984 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.3938, allocations: 85.05 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.3938, allocations: 81.05 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3939, allocations: 7.938 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.3939, allocations: 4 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.3939, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.394, allocations: 7.984 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.36e-05/0.394, allocations: 75.28 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.394, allocations: 96 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001845/0.3942, allocations: 8 kB / 1.057 GB, free: 3.734 MB / 0.8106 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.0001263/0.3943, allocations: 99.25 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.3944, allocations: 23.98 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3944, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.3945, allocations: 15.94 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.3947, allocations: 15.92 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.3951, allocations: 161.1 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.3954, allocations: 0.677 MB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.3954, allocations: 11.44 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3954, allocations: 0 / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of Templates: time 0.002034/0.3974, allocations: 0.5152 MB / 1.058 GB, free: 2.152 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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