Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001172/0.001172, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.14 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.009/2.009, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 61.61 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2338, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002164/0.236, allocations: 1.283 MB / 0.9524 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.237, allocations: 0.7729 MB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.237, allocations: 4 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.2371, allocations: 7.922 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.2371, allocations: 7.922 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.2375, allocations: 167.2 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.2376, allocations: 15.94 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.2376, allocations: 7.984 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.2377, allocations: 11.88 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.2377, allocations: 8 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.345e-06/0.2377, allocations: 11.94 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.2381, allocations: 283.5 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.2382, allocations: 7.984 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.2382, allocations: 11.92 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.2384, allocations: 167.7 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2384, allocations: 0 / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2385, allocations: 0 / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2385, allocations: 0 / 0.9538 GB, free: 5.262 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003695/0.2388, allocations: 371.3 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2389, allocations: 8.031 kB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.2391, allocations: 24.91 kB / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2392, allocations: 160.4 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2392, allocations: 12.31 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.2392, allocations: 384 / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2394, allocations: 46.23 kB / 0.9544 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2394, allocations: 4.188 kB / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.2394, allocations: 7.938 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2394, allocations: 4 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.2395, allocations: 23.92 kB / 0.9544 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.2396, allocations: 161.7 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.2397, allocations: 54.59 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.2398, allocations: 28.89 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2398, allocations: 3.984 kB / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2398, allocations: 34.56 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2398, allocations: 0 / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0001755/0.24, allocations: 89.47 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2401, allocations: 55.39 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.2401, allocations: 97.86 kB / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2401, allocations: 25.7 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.2402, allocations: 80.14 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.2402, allocations: 23.73 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.2402, allocations: 21.83 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.2403, allocations: 314.8 kB / 0.9554 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.2404, allocations: 12 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.2404, allocations: 7.984 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.903e-05/0.2405, allocations: 32.86 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2405, allocations: 3.938 kB / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.961e-05/0.2406, allocations: 69.59 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2406, allocations: 4 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2406, allocations: 7.875 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2406, allocations: 4 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2407, allocations: 15.98 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2407, allocations: 0 / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.2408, allocations: 4 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.2408, allocations: 4 kB / 0.9555 GB, free: 3.254 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 (6): * Single equations (assignments): 6 * 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 6.266e-05/0.2409, allocations: 107.8 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.2409, allocations: 4 kB / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.2411, allocations: 97.5 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2411, allocations: 0 / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2411, allocations: 0 / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2411, allocations: 4 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.2412, allocations: 161.5 kB / 0.9559 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2412, allocations: 4 kB / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.2413, allocations: 20.42 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2413, allocations: 3.938 kB / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2413, allocations: 3.938 kB / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2413, allocations: 8 kB / 0.9559 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2413, allocations: 0 / 0.9559 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.2415, allocations: 101 kB / 0.956 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.2415, allocations: 81.11 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2416, allocations: 7.938 kB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.2416, allocations: 0 / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.2416, allocations: 7.984 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.2416, allocations: 0 / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.2417, allocations: 79.28 kB / 0.9562 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2417, allocations: 0 / 0.9562 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001751/0.2419, allocations: 12 kB / 0.9562 GB, free: 2.461 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 (7): * Single equations (assignments): 7 * 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.624e-05/0.242, allocations: 99.25 kB / 0.9563 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.2421, allocations: 39.92 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2421, allocations: 0 / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.2421, allocations: 23.98 kB / 0.9564 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.2423, allocations: 8.094 kB / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.2426, allocations: 142.5 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.2429, allocations: 0.6844 MB / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.453e-05/0.2429, allocations: 11.98 kB / 0.9572 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.2429, allocations: 11.44 kB / 0.9572 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2429, allocations: 0 / 0.9572 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of Templates: time 0.002381/0.2453, allocations: 0.5668 MB / 0.9578 GB, free: 0.832 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches