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.005847/0.005847, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00144/0.00144, allocations: 195.8 kB / 16.79 MB, free: 5.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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.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.417/2.417, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6523/0.6537, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001749/0.6555, allocations: 0.6626 MB / 0.9502 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002916/0.6558, allocations: 99.62 kB / 0.9503 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.037e-05/0.6558, allocations: 0 / 0.9503 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.6559, allocations: 0 / 0.9503 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.6559, allocations: 1.125 kB / 0.9503 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.6561, allocations: 8.016 kB / 0.9503 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.6561, allocations: 7.938 kB / 0.9503 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.6562, allocations: 1.062 kB / 0.9503 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.6562, allocations: 10.89 kB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.6563, allocations: 5.516 kB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.6563, allocations: 1.344 kB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.6564, allocations: 13.77 kB / 0.9504 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.6564, allocations: 1.562 kB / 0.9504 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.6564, allocations: 5.312 kB / 0.9504 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.499e-05/0.6565, allocations: 19.05 kB / 0.9504 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6565, allocations: 1.344 kB / 0.9504 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6565, allocations: 0 / 0.9504 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.6565, allocations: 0 / 0.9504 GB, free: 8.57 MB / 0.7169 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.0002666/0.6568, allocations: 313.1 kB / 0.9507 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.6568, allocations: 9.5 kB / 0.9507 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.657, allocations: 10.39 kB / 0.9507 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.195e-05/0.657, allocations: 164.4 kB / 0.9509 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.6571, allocations: 1.75 kB / 0.9509 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.6571, allocations: 5.75 kB / 0.9509 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.6572, allocations: 34.38 kB / 0.9509 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.6572, allocations: 1.562 kB / 0.9509 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.6572, allocations: 7.938 kB / 0.9509 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6572, allocations: 0 / 0.9509 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.161e-05/0.6573, allocations: 20.17 kB / 0.9509 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.6574, allocations: 156.4 kB / 0.9511 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.6576, allocations: 36.31 kB / 0.9511 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.6576, allocations: 18.34 kB / 0.9511 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.6577, allocations: 0 / 0.9511 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.6577, allocations: 35.94 kB / 0.9512 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6577, allocations: 3.984 kB / 0.9512 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002002/0.6579, allocations: 60.67 kB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.6579, allocations: 52.78 kB / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.876e-05/0.658, allocations: 93.8 kB / 0.9514 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.658, allocations: 33.64 kB / 0.9514 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.628e-06/0.658, allocations: 81.52 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.658, allocations: 15.23 kB / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.658, allocations: 12.47 kB / 0.9515 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.6581, allocations: 314.8 kB / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.6581, allocations: 8.125 kB / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.6582, allocations: 8.109 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.077e-05/0.6583, allocations: 21.11 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6583, allocations: 1.375 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.854e-05/0.6584, allocations: 53.98 kB / 0.9519 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6584, allocations: 4.125 kB / 0.9519 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6584, allocations: 1.375 kB / 0.9519 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6584, allocations: 3.938 kB / 0.9519 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.6588, allocations: 43.31 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.6598, allocations: 1.309 MB / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.6598, allocations: 1.375 kB / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.6598, allocations: 5.375 kB / 0.9532 GB, free: 5.504 MB / 0.7169 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 4.922e-05/0.6599, allocations: 111.2 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.6599, allocations: 9.406 kB / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.225e-05/0.6599, allocations: 3.5 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.6599, allocations: 1.375 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.6599, allocations: 0 / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6599, allocations: 0 / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.539e-05/0.66, allocations: 160.3 kB / 0.9535 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.66, allocations: 1.375 kB / 0.9535 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.6604, allocations: 51.42 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6604, allocations: 0 / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.6604, allocations: 1.703 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000779/0.6612, allocations: 1.308 MB / 0.9548 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6612, allocations: 0 / 0.9548 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.6613, allocations: 82.64 kB / 0.9549 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.6613, allocations: 78.67 kB / 0.955 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-06/0.6613, allocations: 0 / 0.955 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.638e-05/0.6614, allocations: 1.219 kB / 0.955 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.6614, allocations: 10.39 kB / 0.955 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.6614, allocations: 0 / 0.955 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.32e-05/0.6614, allocations: 80.62 kB / 0.9551 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6614, allocations: 4 kB / 0.9551 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001956/0.6616, allocations: 6.344 kB / 0.9551 GB, free: 3.492 MB / 0.7169 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.000108/0.6617, allocations: 101.9 kB / 0.9552 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.6622, allocations: 61.03 kB / 0.9552 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6622, allocations: 3.938 kB / 0.9553 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.6626, allocations: 56.05 kB / 0.9553 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.6627, allocations: 5.344 kB / 0.9553 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.663, allocations: 124 kB / 0.9554 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.6631, allocations: 0.672 MB / 0.9561 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.6632, allocations: 12.98 kB / 0.9561 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6632, allocations: 0 / 0.9561 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.001905/0.6651, allocations: 0.5853 MB / 0.9567 GB, free: 2.207 MB / 0.7169 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 -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