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.001419/0.001419, allocations: 112.4 kB / 16.42 MB, free: 6.441 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.001637/0.001637, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.17 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.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 64.05 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9933/0.9949, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002233/0.9972, allocations: 0.5797 MB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003717/0.9976, allocations: 96.97 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.9976, allocations: 1.25 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.9976, allocations: 0 / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.9977, allocations: 4.688 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.998, allocations: 17.58 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.844e-05/0.9981, allocations: 9.609 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.528e-05/0.9982, allocations: 1.656 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.117e-05/0.9982, allocations: 6.719 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.9983, allocations: 7.266 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.9983, allocations: 0 / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.9984, allocations: 15.73 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.9984, allocations: 1.219 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.9985, allocations: 5.672 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.9986, allocations: 24.98 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9986, allocations: 0.9688 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.096e-06/0.9986, allocations: 0 / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.9987, allocations: 3.938 kB / 1.089 GB, free: 5.02 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.0004214/0.9991, allocations: 317.5 kB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.9991, allocations: 9.938 kB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.9994, allocations: 9.344 kB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.9994, allocations: 161 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.9995, allocations: 2.312 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.9995, allocations: 5.531 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.9996, allocations: 40.38 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9997, allocations: 192 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.9997, allocations: 3.938 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.9997, allocations: 1.031 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.704e-05/0.9998, allocations: 11 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/1, allocations: 151.7 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/1, allocations: 47.44 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/1, allocations: 15.09 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/1, allocations: 0.9062 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/1, allocations: 32.38 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/1, allocations: 0 / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002775/1.001, allocations: 64.95 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.001, allocations: 52.44 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.177e-05/1.001, allocations: 89.86 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/1.001, allocations: 26.22 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.158e-05/1.001, allocations: 85.33 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/1.001, allocations: 9.5 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/1.001, allocations: 13.27 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/1.001, allocations: 316.8 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/1.001, allocations: 9.312 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/1.001, allocations: 10 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/1.001, allocations: 20.92 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.001, allocations: 0 / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000104/1.001, allocations: 59.98 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.001, allocations: 6.156 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.001, allocations: 0 / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.001, allocations: 8.75 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/1.002, allocations: 49.12 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/1.003, allocations: 1.403 MB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/1.003, allocations: 10.22 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.003, allocations: 0 / 1.092 GB, free: 1.961 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.324e-05/1.003, allocations: 116.8 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/1.003, allocations: 1.641 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.29e-05/1.003, allocations: 4.062 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/1.003, allocations: 0 / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.003, allocations: 1.688 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/1.003, allocations: 82.73 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/1.003, allocations: 0.7969 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/1.003, allocations: 8.969 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/1.003, allocations: 2.266 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004916/1.003, allocations: 174.3 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002485/1.004, allocations: 233.6 kB / 1.093 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.469e-05/1.004, allocations: 8.719 kB / 1.093 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.465e-05/1.004, allocations: 75.28 kB / 1.093 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of Backend: time 3.11e-07/1.004, allocations: 0 / 1.093 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008452/1.005, allocations: 141.2 kB / 1.093 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0006458/1.005, allocations: 0.5476 MB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.003102/1.008, allocations: 0.6299 MB / 1.094 GB, free: 16.58 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