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.00119/0.00119, allocations: 108.8 kB / 16.41 MB, free: 6.496 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: 187 kB / 17.34 MB, free: 5.766 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.45/1.45, 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.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 63.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001791/1.071, allocations: 0.5856 MB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002929/1.071, allocations: 92.83 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/1.071, allocations: 0 / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/1.071, allocations: 0.9688 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/1.071, allocations: 3.938 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/1.071, allocations: 19.44 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.502e-05/1.071, allocations: 3.719 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/1.071, allocations: 3.469 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/1.071, allocations: 9.375 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/1.071, allocations: 7.188 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/1.071, allocations: 0.875 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/1.072, allocations: 14.47 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/1.072, allocations: 1.781 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/1.072, allocations: 1.859 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.42e-05/1.072, allocations: 25.19 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.072, allocations: 4.938 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/1.072, allocations: 4.641 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.14e-06/1.072, allocations: 0 / 1.089 GB, free: 5.035 MB / 0.8575 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.0003046/1.072, allocations: 317.8 kB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.072, allocations: 9.406 kB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/1.072, allocations: 9.203 kB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.322e-05/1.072, allocations: 161.5 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/1.072, allocations: 1.469 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/1.072, allocations: 6.125 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/1.072, allocations: 35.91 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.073, allocations: 192 / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.073, allocations: 8.781 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/1.073, allocations: 1.812 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/1.073, allocations: 14.05 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/1.073, allocations: 155.4 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/1.073, allocations: 40.09 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/1.073, allocations: 15.45 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/1.073, allocations: 0 / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/1.073, allocations: 36.09 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/1.073, allocations: 0 / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002098/1.073, allocations: 60.36 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/1.073, allocations: 52.8 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.468e-05/1.073, allocations: 90.66 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/1.073, allocations: 30.89 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.437e-05/1.073, allocations: 80.14 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/1.073, allocations: 14.34 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/1.073, allocations: 13.14 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.292e-05/1.073, allocations: 312.6 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/1.074, allocations: 9.016 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/1.074, allocations: 10.78 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.51e-05/1.074, allocations: 24.77 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.074, allocations: 0 / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001066/1.074, allocations: 60.08 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.074, allocations: 5.344 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.074, allocations: 0.6094 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.074, allocations: 4.969 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/1.074, allocations: 44.38 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/1.075, allocations: 1.395 MB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/1.075, allocations: 9.516 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/1.075, allocations: 2.109 kB / 1.092 GB, free: 1.988 MB / 0.8575 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 5.878e-05/1.075, allocations: 115.9 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/1.075, allocations: 9.281 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.132e-05/1.075, allocations: 8.047 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/1.075, allocations: 1 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/1.075, allocations: 0.5156 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.076, allocations: 1.062 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.276e-05/1.076, allocations: 154.8 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.076, allocations: 1.406 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/1.076, allocations: 49.72 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.076, allocations: 1.156 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/1.076, allocations: 0.7031 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/1.077, allocations: 1.41 MB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.077, allocations: 0.9688 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/1.077, allocations: 68.38 kB / 1.094 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/1.078, allocations: 78.66 kB / 1.094 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/1.078, allocations: 6.016 kB / 1.094 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/1.078, allocations: 13.28 kB / 1.094 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/1.078, allocations: 3.266 kB / 1.094 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/1.078, allocations: 1.859 kB / 1.094 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.016e-05/1.078, allocations: 75.28 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/1.078, allocations: 0 / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001947/1.078, allocations: 3.625 kB / 1.094 GB, free: 15.95 MB / 0.8731 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.0001732/1.078, allocations: 98.5 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000516/1.079, allocations: 64.03 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.079, allocations: 0 / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/1.079, allocations: 65.11 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/1.079, allocations: 8.406 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/1.079, allocations: 113.7 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/1.08, allocations: 0.677 MB / 1.095 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/1.08, allocations: 13.81 kB / 1.095 GB, free: 15 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.08, allocations: 0 / 1.095 GB, free: 15 MB / 0.8731 GB Notification: Performance of Templates: time 0.002604/1.082, allocations: 0.603 MB / 1.096 GB, free: 14.97 MB / 0.8731 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