Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 116.3 kB / 16.37 MB, free: 6.004 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.001113/0.001113, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.16 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 1.985/1.985, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 66.88 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.238, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001836/0.2399, allocations: 0.5898 MB / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.2402, allocations: 103.7 kB / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.2402, allocations: 0 / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.2402, allocations: 0 / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.2403, allocations: 8 kB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.2405, allocations: 11.98 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.2406, allocations: 11.92 kB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.2406, allocations: 0 / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.784e-05/0.2406, allocations: 4 kB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.2407, allocations: 3.984 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2407, allocations: 4 kB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.577e-05/0.2408, allocations: 11.98 kB / 0.9519 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.2408, allocations: 7.938 kB / 0.9519 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.2408, allocations: 7.984 kB / 0.9519 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.656e-05/0.2409, allocations: 11.98 kB / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2409, allocations: 0 / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2409, allocations: 0 / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.241, allocations: 0 / 0.9519 GB, free: 7.277 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003559/0.2413, allocations: 323.6 kB / 0.9522 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2414, allocations: 8.031 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.2415, allocations: 16.83 kB / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.995e-05/0.2416, allocations: 160.4 kB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.2417, allocations: 4.375 kB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.2417, allocations: 4.312 kB / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.2418, allocations: 42.25 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.2418, allocations: 192 / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2418, allocations: 7.938 kB / 0.9524 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2418, allocations: 7.875 kB / 0.9524 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.2419, allocations: 11.98 kB / 0.9524 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.2421, allocations: 149.7 kB / 0.9526 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.2422, allocations: 42.61 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.2423, allocations: 20.89 kB / 0.9526 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2423, allocations: 0 / 0.9526 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2423, allocations: 34.56 kB / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.2423, allocations: 0 / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001878/0.2425, allocations: 61.55 kB / 0.9527 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.2426, allocations: 55.41 kB / 0.9528 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.332e-05/0.2426, allocations: 93.86 kB / 0.9529 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2426, allocations: 25.7 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.2426, allocations: 80.14 kB / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.2427, allocations: 11.83 kB / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.2427, allocations: 21.7 kB / 0.953 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.2428, allocations: 310.8 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.2429, allocations: 8 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.2429, allocations: 7.984 kB / 0.9533 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.798e-05/0.243, allocations: 24.78 kB / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.243, allocations: 0 / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.433e-05/0.2431, allocations: 49.69 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2431, allocations: 4 kB / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.2431, allocations: 0 / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2431, allocations: 3.938 kB / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.2434, allocations: 47.92 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.2446, allocations: 1.4 MB / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.2447, allocations: 4 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2447, allocations: 3.984 kB / 0.9548 GB, free: 3.898 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.392e-05/0.2448, allocations: 117.3 kB / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.2448, allocations: 0 / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.353e-05/0.2448, allocations: 3.5 kB / 0.9549 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2448, allocations: 0 / 0.9549 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.2448, allocations: 3.938 kB / 0.9549 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2448, allocations: 8.391 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.474e-05/0.2449, allocations: 157.5 kB / 0.9551 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2449, allocations: 0 / 0.9551 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.2453, allocations: 47.92 kB / 0.9551 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2453, allocations: 0 / 0.9551 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.2453, allocations: 12 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.2464, allocations: 1.399 MB / 0.9565 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2464, allocations: 0 / 0.9565 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.2465, allocations: 89.08 kB / 0.9566 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.2465, allocations: 81.05 kB / 0.9567 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-06/0.2465, allocations: 3.938 kB / 0.9567 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.66e-05/0.2466, allocations: 3.984 kB / 0.9567 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.2466, allocations: 4 kB / 0.9567 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.2466, allocations: 0 / 0.9567 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.286e-05/0.2466, allocations: 75.28 kB / 0.9568 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2466, allocations: 0 / 0.9568 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001796/0.2468, allocations: 8 kB / 0.9568 GB, free: 1.668 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001159/0.2469, allocations: 105.1 kB / 0.9569 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.2473, allocations: 63.84 kB / 0.9569 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2473, allocations: 4 kB / 0.9569 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.2476, allocations: 35.95 kB / 0.957 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.2477, allocations: 1.719 kB / 0.957 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.248, allocations: 96.92 kB / 0.9571 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.2482, allocations: 0.6729 MB / 0.9577 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.2482, allocations: 4 kB / 0.9577 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.2483, allocations: 15.42 kB / 0.9577 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of SimCode: time 1.9e-07/0.2483, allocations: 0 / 0.9577 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of Templates: time 0.00204/0.2503, allocations: 412.7 kB / 0.9581 GB, free: 220 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches