Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001674/0.001674, 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.00204/0.00204, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.371/1.371, 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 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.7 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 65.78 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3078, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001979/0.3099, allocations: 0.5918 MB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003051/0.3102, allocations: 103.7 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.3102, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.3103, allocations: 7.938 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.3103, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.3106, allocations: 11.97 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.142e-05/0.3106, allocations: 11.98 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.3107, allocations: 4 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.3107, allocations: 0 / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.3108, allocations: 4 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.3108, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.753e-05/0.3108, allocations: 15.98 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.3109, allocations: 3.938 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.3109, allocations: 11.92 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.886e-05/0.311, allocations: 15.97 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.311, allocations: 4 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.592e-06/0.311, allocations: 0 / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.311, allocations: 0 / 1.069 GB, free: 9.594 MB / 0.8262 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.0003704/0.3114, allocations: 315.6 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3114, allocations: 12.03 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.3116, allocations: 8.922 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.033e-05/0.3117, allocations: 164.4 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3117, allocations: 4.375 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.3117, allocations: 4.312 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.3118, allocations: 42.25 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3119, allocations: 192 / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3119, allocations: 3.938 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3119, allocations: 0 / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.312, allocations: 15.92 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.3121, allocations: 153.7 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.3123, allocations: 38.56 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.3123, allocations: 16.91 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3124, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3124, allocations: 30.56 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3124, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000202/0.3126, allocations: 65.55 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.3127, allocations: 55.34 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.422e-05/0.3127, allocations: 89.86 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.3127, allocations: 25.7 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.3127, allocations: 84.14 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.3128, allocations: 16.03 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.3128, allocations: 9.719 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.3129, allocations: 322.8 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.786e-05/0.313, allocations: 4 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.313, allocations: 8.172 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.853e-05/0.3131, allocations: 24.94 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3131, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001085/0.3132, allocations: 53.61 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3132, allocations: 4 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3132, allocations: 0 / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3132, allocations: 7.938 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.3137, allocations: 39.94 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.3149, allocations: 1.406 MB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.315, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.315, allocations: 8.031 kB / 1.072 GB, free: 6.227 MB / 0.8262 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.32e-05/0.3151, allocations: 120 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.3151, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.461e-05/0.3151, allocations: 3.562 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3151, allocations: 8 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-07/0.3151, allocations: 3.938 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3151, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3153, allocations: 161.6 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3153, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.3157, allocations: 43.94 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3157, allocations: 4 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3157, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.317, allocations: 1.412 MB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.317, allocations: 4.094 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.3172, allocations: 77.05 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.3172, allocations: 77.11 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.3172, allocations: 3.938 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/0.3173, allocations: 4 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3173, allocations: 3.984 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3173, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.3174, allocations: 79.28 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3174, allocations: 0 / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002016/0.3176, allocations: 4 kB / 1.074 GB, free: 3.992 MB / 0.8262 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.0001908/0.3178, allocations: 105.7 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.3183, allocations: 63.84 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3183, allocations: 0 / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.3185, allocations: 43.89 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.3187, allocations: 1.875 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.3192, allocations: 112.8 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3194, allocations: 0.6729 MB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.3195, allocations: 0 / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.3195, allocations: 15.42 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3195, allocations: 0 / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of Templates: time 0.002391/0.3219, allocations: 412.5 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches