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.001309/0.001309, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001241/0.001242, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.52/2.52, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8208, allocations: 140.3 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001764/0.8226, allocations: 0.6629 MB / 0.9497 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002698/0.8229, allocations: 89.28 kB / 0.9498 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.8229, allocations: 1.5 kB / 0.9498 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.823, allocations: 0 / 0.9498 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.823, allocations: 0 / 0.9498 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.8233, allocations: 21.89 kB / 0.9499 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.171e-05/0.8233, allocations: 8.266 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.8234, allocations: 1.094 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.8234, allocations: 6.469 kB / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.8235, allocations: 1.906 kB / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.8235, allocations: 0 / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-05/0.8236, allocations: 15.36 kB / 0.9499 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.8236, allocations: 1.625 kB / 0.9499 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.8236, allocations: 3.984 kB / 0.9499 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.777e-05/0.8237, allocations: 21.64 kB / 0.9499 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.8237, allocations: 7.984 kB / 0.9499 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8237, allocations: 1.156 kB / 0.9499 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.8238, allocations: 0 / 0.9499 GB, free: 8.449 MB / 0.7169 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.0003219/0.8241, allocations: 313.7 kB / 0.9502 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8241, allocations: 9.5 kB / 0.9502 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.8243, allocations: 9.734 kB / 0.9502 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.8244, allocations: 164.4 kB / 0.9504 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.8244, allocations: 1.75 kB / 0.9504 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.8244, allocations: 5.5 kB / 0.9504 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.8246, allocations: 43.66 kB / 0.9504 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.8246, allocations: 192 / 0.9504 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8246, allocations: 3.938 kB / 0.9504 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.8246, allocations: 5.25 kB / 0.9504 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.8247, allocations: 10.14 kB / 0.9505 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.8248, allocations: 157.3 kB / 0.9506 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.825, allocations: 40.69 kB / 0.9506 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.8251, allocations: 17.78 kB / 0.9507 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.8251, allocations: 1.156 kB / 0.9507 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.8251, allocations: 34.5 kB / 0.9507 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8251, allocations: 1.156 kB / 0.9507 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002026/0.8253, allocations: 60.92 kB / 0.9508 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.8253, allocations: 51.41 kB / 0.9508 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.775e-05/0.8254, allocations: 91.36 kB / 0.9509 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.8254, allocations: 29.7 kB / 0.9509 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.819e-06/0.8254, allocations: 84.08 kB / 0.951 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.8254, allocations: 7.312 kB / 0.951 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.8255, allocations: 12.31 kB / 0.951 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.55e-05/0.8255, allocations: 320.1 kB / 0.9513 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.8255, allocations: 7.625 kB / 0.9513 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.586e-05/0.8256, allocations: 11.36 kB / 0.9513 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.8257, allocations: 19.05 kB / 0.9514 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8257, allocations: 0 / 0.9514 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.336e-05/0.8258, allocations: 54.16 kB / 0.9514 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.8258, allocations: 5.281 kB / 0.9514 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.8258, allocations: 0 / 0.9514 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.8258, allocations: 3.938 kB / 0.9514 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.8262, allocations: 45.06 kB / 0.9515 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009888/0.8272, allocations: 1.407 MB / 0.9528 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.8272, allocations: 1.062 kB / 0.9528 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.8272, allocations: 5.656 kB / 0.9528 GB, free: 5.289 MB / 0.7169 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.617e-05/0.8273, allocations: 112.8 kB / 0.953 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.8273, allocations: 3.984 kB / 0.953 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.21e-05/0.8273, allocations: 4.531 kB / 0.953 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8273, allocations: 1.719 kB / 0.953 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.8274, allocations: 4.062 kB / 0.953 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8274, allocations: 0 / 0.953 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.35e-05/0.8274, allocations: 164.5 kB / 0.9531 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8274, allocations: 0 / 0.9531 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.8278, allocations: 47.88 kB / 0.9532 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.8278, allocations: 4 kB / 0.9532 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.8278, allocations: 1.438 kB / 0.9532 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008338/0.8286, allocations: 1.399 MB / 0.9545 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8287, allocations: 1.375 kB / 0.9545 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.8288, allocations: 86.92 kB / 0.9546 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.8288, allocations: 81.05 kB / 0.9547 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-06/0.8288, allocations: 5.312 kB / 0.9547 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.475e-05/0.8288, allocations: 1.375 kB / 0.9547 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.8289, allocations: 5.359 kB / 0.9547 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.8289, allocations: 4 kB / 0.9547 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.802e-05/0.8289, allocations: 80.66 kB / 0.9548 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8289, allocations: 3.938 kB / 0.9548 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001878/0.8291, allocations: 6.75 kB / 0.9548 GB, free: 3.168 MB / 0.7169 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.0001372/0.8292, allocations: 98.5 kB / 0.9549 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.8297, allocations: 72.75 kB / 0.955 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8297, allocations: 0 / 0.955 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.8299, allocations: 31.34 kB / 0.955 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.8301, allocations: 5.359 kB / 0.955 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.8304, allocations: 99.92 kB / 0.9551 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.8305, allocations: 0.6716 MB / 0.9558 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.8306, allocations: 2.75 kB / 0.9558 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.8306, allocations: 8.812 kB / 0.9558 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8306, allocations: 0 / 0.9558 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of Templates: time 0.002374/0.833, allocations: 419.2 kB / 0.9562 GB, free: 2 MB / 0.7169 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