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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001209/0.00121, allocations: 108 kB / 15.6 MB, free: 132 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.001184/0.001184, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.2 MB / 0.6647 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 71.91 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7042, allocations: 140.3 MB / 0.9496 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001712/0.706, allocations: 0.5984 MB / 0.9502 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.7062, allocations: 84.58 kB / 0.9502 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.7063, allocations: 0 / 0.9502 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.7063, allocations: 1.281 kB / 0.9502 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.7063, allocations: 3.938 kB / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.7065, allocations: 13.98 kB / 0.9503 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.347e-05/0.7066, allocations: 11.95 kB / 0.9503 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.7066, allocations: 9.312 kB / 0.9503 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.7067, allocations: 10.27 kB / 0.9503 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.7067, allocations: 2.406 kB / 0.9503 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.7068, allocations: 0 / 0.9503 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.7068, allocations: 16.08 kB / 0.9503 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.7068, allocations: 0 / 0.9503 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.7069, allocations: 1.25 kB / 0.9503 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.484e-05/0.7069, allocations: 24.94 kB / 0.9503 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.707, allocations: 1.281 kB / 0.9503 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.707, allocations: 0 / 0.9503 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.707, allocations: 4 kB / 0.9503 GB, free: 8.484 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.0002584/0.7072, allocations: 313.5 kB / 0.9506 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7073, allocations: 10.25 kB / 0.9507 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.7074, allocations: 8.609 kB / 0.9507 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.401e-05/0.7075, allocations: 162.5 kB / 0.9508 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.7075, allocations: 4.375 kB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.7075, allocations: 2.375 kB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.7076, allocations: 42.72 kB / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7077, allocations: 4.188 kB / 0.9509 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.7077, allocations: 3.938 kB / 0.9509 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.7077, allocations: 5.281 kB / 0.9509 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.7078, allocations: 14.36 kB / 0.9509 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.7079, allocations: 153.2 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.708, allocations: 45.25 kB / 0.9511 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.7081, allocations: 8.953 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.7081, allocations: 0.9688 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.7081, allocations: 39.3 kB / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.7081, allocations: 0 / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001904/0.7083, allocations: 57.78 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.7084, allocations: 51.41 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.736e-05/0.7084, allocations: 97.84 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.7084, allocations: 27.08 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-06/0.7084, allocations: 84.08 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.7084, allocations: 11.28 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.7085, allocations: 12.53 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.7085, allocations: 312.3 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.7086, allocations: 10.7 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.7086, allocations: 4.5 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.7087, allocations: 29.62 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.7087, allocations: 3.938 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.483e-05/0.7088, allocations: 46.69 kB / 0.9518 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.7088, allocations: 8.922 kB / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7088, allocations: 0 / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7088, allocations: 5.094 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.7092, allocations: 43.56 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009297/0.7101, allocations: 1.404 MB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.7102, allocations: 9.344 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.7102, allocations: 1.5 kB / 0.9533 GB, free: 5.32 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.896e-05/0.7102, allocations: 116.5 kB / 0.9534 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.7102, allocations: 1.406 kB / 0.9534 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.7103, allocations: 3.5 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7103, allocations: 1.344 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-07/0.7103, allocations: 0 / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7103, allocations: 3.984 kB / 0.9534 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.254e-05/0.7103, allocations: 160.3 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7103, allocations: 1.281 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.7107, allocations: 47.42 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.7107, allocations: 0 / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.7107, allocations: 1.375 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008782/0.7116, allocations: 1.407 MB / 0.955 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7116, allocations: 0 / 0.955 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.7117, allocations: 74.59 kB / 0.955 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.7117, allocations: 82.34 kB / 0.9551 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.7118, allocations: 7.938 kB / 0.9551 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.559e-05/0.7118, allocations: 5.281 kB / 0.9551 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.7118, allocations: 2.406 kB / 0.9551 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.7118, allocations: 0 / 0.9551 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.589e-05/0.7118, allocations: 76.53 kB / 0.9552 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7118, allocations: 3.938 kB / 0.9552 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001925/0.712, allocations: 2.75 kB / 0.9552 GB, free: 3.219 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.0001412/0.7122, allocations: 106.1 kB / 0.9553 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004802/0.7127, allocations: 65.08 kB / 0.9554 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7127, allocations: 4 kB / 0.9554 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.7129, allocations: 44.3 kB / 0.9554 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.7131, allocations: 1.688 kB / 0.9554 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.7134, allocations: 100.2 kB / 0.9555 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.7136, allocations: 0.6756 MB / 0.9562 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.7136, allocations: 10.06 kB / 0.9562 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.7136, allocations: 8.594 kB / 0.9562 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7136, allocations: 1.062 kB / 0.9562 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of Templates: time 0.002266/0.7159, allocations: 412.4 kB / 0.9566 GB, free: 2.035 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/jenkins/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