Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008411/0.008411, allocations: 98.22 kB / 15.73 MB, free: 6.008 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.001863/0.001863, allocations: 196.2 kB / 16.67 MB, free: 5.934 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.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437 MB / 0.7105 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8077/0.8092, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002936/0.8122, allocations: 1.433 MB / 1.168 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002995/0.8125, allocations: 98.97 kB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.8125, allocations: 4 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.8126, allocations: 3.984 kB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.8126, allocations: 7.938 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.8129, allocations: 15.97 kB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.813, allocations: 27.92 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.8131, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.8131, allocations: 15.92 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.8132, allocations: 8 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.8132, allocations: 4 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.8133, allocations: 15.98 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.8133, allocations: 7.922 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.8133, allocations: 15.94 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.8135, allocations: 35.89 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8135, allocations: 0 / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8135, allocations: 0 / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8135, allocations: 3.938 kB / 1.168 GB, free: 2.168 MB / 0.8887 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.000463/0.814, allocations: 351.9 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.814, allocations: 8.625 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.8142, allocations: 12.92 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.8143, allocations: 176.3 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.8144, allocations: 384 / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.8144, allocations: 384 / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.8146, allocations: 62.22 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8146, allocations: 192 / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.8146, allocations: 3.938 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.8146, allocations: 0 / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.8148, allocations: 47.95 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.8153, allocations: 268.8 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.8154, allocations: 50.48 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.8155, allocations: 32.89 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.8156, allocations: 7.984 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.8156, allocations: 34.56 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8156, allocations: 0 / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004167/0.816, allocations: 101.6 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.8161, allocations: 55.53 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.752e-05/0.8162, allocations: 105.8 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.8162, allocations: 25.7 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.8162, allocations: 84.14 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.8162, allocations: 7.953 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.8163, allocations: 13.72 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8164, allocations: 318.8 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.8165, allocations: 23.98 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.8166, allocations: 23.97 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.8168, allocations: 48.81 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.8168, allocations: 0 / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002289/0.817, allocations: 89.53 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.8171, allocations: 11.98 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8171, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.8171, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.8172, allocations: 11.98 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.8172, allocations: 0 / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.8173, allocations: 7.953 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.8173, allocations: 0 / 1.17 GB, free: 0 / 0.8887 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.8174, allocations: 125.8 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.8174, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.8175, allocations: 3.531 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.8175, allocations: 4 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.8175, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.8175, allocations: 256 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.8177, allocations: 169.6 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8177, allocations: 8 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.131e-05/0.8178, allocations: 11.92 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8178, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.8178, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.8178, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8178, allocations: 3.938 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.8181, allocations: 175.4 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.8181, allocations: 81.06 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.8182, allocations: 8.031 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.8182, allocations: 7.984 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.8183, allocations: 4 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.8183, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.8184, allocations: 83.27 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8184, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002164/0.8186, allocations: 8 kB / 1.171 GB, free: 15.21 MB / 0.9044 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001107/0.8187, allocations: 103.2 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.819, allocations: 55.88 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.819, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.8191, allocations: 23.98 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.8194, allocations: 3.938 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.8197, allocations: 127.2 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.82, allocations: 0.6806 MB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.82, allocations: 3.984 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.82, allocations: 7.438 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.82, allocations: 0 / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.002653/0.8227, allocations: 0.5847 MB / 1.172 GB, free: 13.58 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches