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.004886/0.004886, allocations: 102.6 kB / 15.73 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.00109/0.00109, allocations: 195.5 kB / 16.68 MB, free: 6.375 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.474/2.474, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 64.09 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3113, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001963/0.3133, allocations: 0.5912 MB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.3137, allocations: 95.72 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.3137, allocations: 4 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.3138, allocations: 0 / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.063e-05/0.3139, allocations: 0 / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.3141, allocations: 23.86 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.3142, allocations: 4 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.3142, allocations: 3.984 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.3143, allocations: 4 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.3144, allocations: 3.938 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3144, allocations: 0 / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.771e-05/0.3145, allocations: 15.98 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.3145, allocations: 11.92 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.3145, allocations: 4 kB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3146, allocations: 15.98 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3146, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3146, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3146, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 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.0003929/0.315, allocations: 319.9 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3151, allocations: 8.031 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.3153, allocations: 8.922 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.3154, allocations: 168.4 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3154, allocations: 8.297 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.3154, allocations: 384 / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.3156, allocations: 42.19 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3156, allocations: 192 / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3156, allocations: 7.938 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3156, allocations: 0 / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.3157, allocations: 7.984 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.316, allocations: 153.7 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.3162, allocations: 42.59 kB / 1.089 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.3163, allocations: 16.91 kB / 1.089 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.3163, allocations: 0 / 1.089 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.3163, allocations: 38.5 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3163, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002488/0.3166, allocations: 57.8 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3166, allocations: 51.41 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.783e-05/0.3167, allocations: 93.86 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3167, allocations: 29.7 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.3167, allocations: 80.14 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.3168, allocations: 7.844 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3168, allocations: 13.72 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3169, allocations: 318.8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.317, allocations: 7.984 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.317, allocations: 7.984 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.3171, allocations: 24.78 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3171, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.3172, allocations: 53.58 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3173, allocations: 9.719 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3173, allocations: 4 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3173, allocations: 3.938 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.3177, allocations: 43.88 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.319, allocations: 1.404 MB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.3191, allocations: 3.906 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3191, allocations: 4 kB / 1.092 GB, free: 13.3 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 7.848e-05/0.3192, allocations: 113.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.3192, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.3192, allocations: 7.484 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3192, allocations: 8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3192, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3192, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.997e-05/0.3193, allocations: 153.6 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3193, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.3197, allocations: 55.86 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3197, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.3197, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.3209, allocations: 1.404 MB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3209, allocations: 0 / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.321, allocations: 85.17 kB / 1.093 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.321, allocations: 77.11 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.3211, allocations: 3.938 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.3211, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.3211, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3211, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.3212, allocations: 75.28 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3212, allocations: 4 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001912/0.3214, allocations: 11.98 kB / 1.094 GB, free: 11.07 MB / 0.8575 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.000142/0.3215, allocations: 99.78 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.322, allocations: 63.86 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.322, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.3223, allocations: 39.95 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.3224, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.3228, allocations: 93.06 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.323, allocations: 0.6807 MB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.3231, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.3231, allocations: 11.44 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.3231, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of Templates: time 0.002503/0.3256, allocations: 418 kB / 1.095 GB, free: 9.617 MB / 0.8575 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