Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_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_9_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.00119/0.00119, allocations: 105.4 kB / 16.35 MB, free: 5.828 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.001131/0.001131, allocations: 194.2 kB / 17.3 MB, free: 5.484 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.032/2.032, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 62.92 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002377/0.2353, allocations: 1.262 MB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.2358, allocations: 297.2 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.2358, allocations: 0 / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.2359, allocations: 0 / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.2359, allocations: 7.938 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.2362, allocations: 47.75 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.379e-05/0.2362, allocations: 15.92 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.2363, allocations: 11.98 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.12e-05/0.2363, allocations: 7.938 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.2364, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.2364, allocations: 7.938 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.2365, allocations: 55.95 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.2365, allocations: 3.984 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.2365, allocations: 11.94 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2367, allocations: 51.83 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2367, allocations: 0 / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2367, allocations: 0 / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.2367, allocations: 0 / 0.9528 GB, free: 6.309 MB / 0.7325 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.000326/0.237, allocations: 335.5 kB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.2371, allocations: 15.97 kB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.2372, allocations: 16.91 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2374, allocations: 172.3 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.2374, allocations: 4.375 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.2374, allocations: 384 / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.2375, allocations: 42.25 kB / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.2375, allocations: 192 / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2375, allocations: 7.938 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2375, allocations: 0 / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.788e-05/0.2376, allocations: 19.98 kB / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.2377, allocations: 153.7 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.2394, allocations: 270.3 kB / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.2395, allocations: 20.86 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.2395, allocations: 0 / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.2395, allocations: 34.56 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.2395, allocations: 0 / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001368/0.2397, allocations: 69.56 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.2397, allocations: 51.41 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.2398, allocations: 93.84 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.2398, allocations: 29.7 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.2398, allocations: 80.14 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.2399, allocations: 15.94 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.2399, allocations: 13.72 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.24, allocations: 314.8 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.24, allocations: 7.984 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.24, allocations: 15.94 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.2401, allocations: 20.86 kB / 0.9546 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2401, allocations: 0 / 0.9546 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.195e-05/0.2402, allocations: 57.62 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2402, allocations: 8 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2402, allocations: 11.92 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2402, allocations: 336 / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.2403, allocations: 7.984 kB / 0.9547 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2403, allocations: 3.938 kB / 0.9547 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.2403, allocations: 4 kB / 0.9547 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2403, allocations: 4 kB / 0.9547 GB, free: 4.219 MB / 0.7325 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 5.98e-05/0.2404, allocations: 105.8 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.2404, allocations: 7.906 kB / 0.9548 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.2405, allocations: 19.42 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2405, allocations: 0 / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2405, allocations: 0 / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2405, allocations: 0 / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.2406, allocations: 161.7 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2406, allocations: 0 / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.2406, allocations: 11.98 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2406, allocations: 0 / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.2406, allocations: 3.938 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2407, allocations: 0 / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2407, allocations: 3.938 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.387e-05/0.2408, allocations: 81.12 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.2408, allocations: 85.05 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2408, allocations: 3.938 kB / 0.9551 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.2409, allocations: 3.984 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.2409, allocations: 4 kB / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2409, allocations: 4 kB / 0.9551 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.449e-05/0.2409, allocations: 75.28 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2409, allocations: 4.094 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001698/0.2411, allocations: 8 kB / 0.9552 GB, free: 3.547 MB / 0.7325 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 9.577e-05/0.2412, allocations: 95.25 kB / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.112e-05/0.2413, allocations: 35.86 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2413, allocations: 0 / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.2413, allocations: 12 kB / 0.9554 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.2415, allocations: 9.875 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.2418, allocations: 130.6 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.242, allocations: 0.6805 MB / 0.9562 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.2421, allocations: 8 kB / 0.9562 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.2421, allocations: 7.438 kB / 0.9562 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2421, allocations: 0 / 0.9562 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of Templates: time 0.002063/0.2442, allocations: 0.5123 MB / 0.9567 GB, free: 2.008 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches