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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007216/0.0007216, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0007567/0.0007567, allocations: 179 kB / 16.27 MB, free: 6.664 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003305, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5607, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006006/0.5614, allocations: 329.2 kB / 0.9555 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.5617, allocations: 91.14 kB / 0.9556 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.027e-05/0.5617, allocations: 0 / 0.9556 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.5617, allocations: 0 / 0.9556 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.5618, allocations: 5.188 kB / 0.9556 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.5619, allocations: 8.281 kB / 0.9556 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.788e-05/0.562, allocations: 12.23 kB / 0.9556 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.562, allocations: 5.359 kB / 0.9556 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.562, allocations: 1.375 kB / 0.9556 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.5621, allocations: 2.969 kB / 0.9556 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.5621, allocations: 0 / 0.9556 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.411e-05/0.5622, allocations: 19.05 kB / 0.9556 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.5622, allocations: 0 / 0.9556 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.5622, allocations: 35.05 kB / 0.9557 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.477e-05/0.5623, allocations: 16.97 kB / 0.9557 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5623, allocations: 1.625 kB / 0.9557 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5623, allocations: 0 / 0.9557 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.5623, allocations: 0 / 0.9557 GB, free: 7.277 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.0002021/0.5625, allocations: 312.5 kB / 0.956 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5626, allocations: 8.906 kB / 0.956 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.324e-05/0.5626, allocations: 34.75 kB / 0.956 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.5627, allocations: 9.484 kB / 0.956 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.848e-05/0.5628, allocations: 169.8 kB / 0.9562 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.5628, allocations: 4.312 kB / 0.9562 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.5628, allocations: 1.75 kB / 0.9562 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.573e-05/0.5629, allocations: 39.12 kB / 0.9562 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5629, allocations: 5.062 kB / 0.9562 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.5629, allocations: 0 / 0.9562 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.563, allocations: 4.688 kB / 0.9563 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.563, allocations: 14.98 kB / 0.9563 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.184e-05/0.5631, allocations: 156.8 kB / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.5633, allocations: 40.53 kB / 0.9565 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.5633, allocations: 18.09 kB / 0.9565 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.5633, allocations: 0 / 0.9565 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.5634, allocations: 35.47 kB / 0.9565 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.5634, allocations: 4.906 kB / 0.9565 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.5636, allocations: 60.67 kB / 0.9566 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.5636, allocations: 52.97 kB / 0.9566 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.326e-05/0.5636, allocations: 89.86 kB / 0.9567 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.5636, allocations: 25.7 kB / 0.9567 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.406e-06/0.5636, allocations: 80.14 kB / 0.9568 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.5637, allocations: 16.12 kB / 0.9568 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.5637, allocations: 11.28 kB / 0.9568 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.421e-05/0.5637, allocations: 314.8 kB / 0.9571 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.5638, allocations: 7.641 kB / 0.9571 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.5638, allocations: 8.609 kB / 0.9571 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.5639, allocations: 20.94 kB / 0.9572 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5639, allocations: 0 / 0.9572 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001036/0.564, allocations: 54.73 kB / 0.9572 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.564, allocations: 5.281 kB / 0.9572 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.564, allocations: 3.938 kB / 0.9572 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.564, allocations: 0.9688 kB / 0.9572 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.5644, allocations: 42.94 kB / 0.9573 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008664/0.5653, allocations: 1.313 MB / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.5653, allocations: 3.984 kB / 0.9586 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.5653, allocations: 1.062 kB / 0.9586 GB, free: 4.168 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 4.697e-05/0.5654, allocations: 113.1 kB / 0.9587 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.5654, allocations: 1.031 kB / 0.9587 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332e-05/0.5654, allocations: 12.53 kB / 0.9587 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5654, allocations: 4.094 kB / 0.9587 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.5654, allocations: 0.8438 kB / 0.9587 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5654, allocations: 0 / 0.9587 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.579e-05/0.5655, allocations: 156.5 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5655, allocations: 1.031 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.5658, allocations: 49.86 kB / 0.9589 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5658, allocations: 0 / 0.9589 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.5659, allocations: 1.094 kB / 0.9589 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000762/0.5666, allocations: 1.313 MB / 0.9602 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5666, allocations: 0 / 0.9602 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.5667, allocations: 78.2 kB / 0.9602 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.5668, allocations: 82.14 kB / 0.9603 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-06/0.5668, allocations: 5.094 kB / 0.9603 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.5668, allocations: 0.9375 kB / 0.9603 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.5668, allocations: 9.141 kB / 0.9603 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.5668, allocations: 1.062 kB / 0.9603 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.949e-06/0.5668, allocations: 75.28 kB / 0.9604 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5669, allocations: 1.188 kB / 0.9604 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001836/0.567, allocations: 7.219 kB / 0.9604 GB, free: 2.156 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.0002535/0.5673, allocations: 0.6124 MB / 0.961 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.5677, allocations: 60.23 kB / 0.9611 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5677, allocations: 0 / 0.9611 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.568, allocations: 38.58 kB / 0.9611 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.5681, allocations: 0.9688 kB / 0.9611 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.5684, allocations: 134.2 kB / 0.9612 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.531e-05/0.5685, allocations: 0.6767 MB / 0.9619 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.5685, allocations: 1.344 kB / 0.9619 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.5686, allocations: 8.719 kB / 0.9619 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.5686, allocations: 1.25 kB / 0.9619 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.5936, allocations: 1.064 MB / 0.9629 GB, free: 160 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.5939, allocations: 242.2 kB / 0.9632 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.132, allocations: 0 / 0.9632 GB, free: 15.9 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > 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