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.001572/0.001572, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001727/0.001727, allocations: 192.6 kB / 16.14 MB, free: 6.719 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.261/2.261, allocations: 390.3 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5523, allocations: 140.4 MB / 0.9491 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001645/0.554, allocations: 0.6469 MB / 0.9497 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002568/0.5543, allocations: 99.03 kB / 0.9498 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.01e-05/0.5543, allocations: 0 / 0.9498 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.5544, allocations: 1.375 kB / 0.9498 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.272e-05/0.5544, allocations: 0 / 0.9498 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.5545, allocations: 12.11 kB / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.335e-05/0.5546, allocations: 4.125 kB / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.5546, allocations: 13.36 kB / 0.9498 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.5546, allocations: 2.75 kB / 0.9498 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/0.5547, allocations: 1.375 kB / 0.9498 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.5547, allocations: 1.375 kB / 0.9498 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.5548, allocations: 14.86 kB / 0.9498 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.5548, allocations: 7.922 kB / 0.9498 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.5548, allocations: 5.375 kB / 0.9498 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.805e-05/0.5549, allocations: 13.48 kB / 0.9499 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5549, allocations: 0 / 0.9499 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.41e-07/0.5549, allocations: 0 / 0.9499 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.5549, allocations: 1.375 kB / 0.9499 GB, free: 8.418 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.0002193/0.5551, allocations: 317 kB / 0.9502 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.5552, allocations: 9.625 kB / 0.9502 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.382e-05/0.5552, allocations: 34.69 kB / 0.9502 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.5553, allocations: 14.42 kB / 0.9502 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.27e-05/0.5554, allocations: 164.4 kB / 0.9504 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5554, allocations: 1.75 kB / 0.9504 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.5554, allocations: 5.688 kB / 0.9504 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.5555, allocations: 39.75 kB / 0.9504 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.5555, allocations: 3.938 kB / 0.9504 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.5556, allocations: 4 kB / 0.9504 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5556, allocations: 1.375 kB / 0.9504 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.606e-05/0.5556, allocations: 14.86 kB / 0.9504 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.758e-05/0.5557, allocations: 156.4 kB / 0.9506 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.5559, allocations: 44.25 kB / 0.9506 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.5559, allocations: 18.34 kB / 0.9507 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.556, allocations: 0 / 0.9507 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.088e-05/0.556, allocations: 31.94 kB / 0.9507 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.556, allocations: 0 / 0.9507 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001821/0.5562, allocations: 60.67 kB / 0.9507 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.554e-05/0.5562, allocations: 56.72 kB / 0.9508 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.2e-05/0.5562, allocations: 93.86 kB / 0.9509 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.5562, allocations: 25.7 kB / 0.9509 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-06/0.5562, allocations: 81.52 kB / 0.951 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.5563, allocations: 11.53 kB / 0.951 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.5563, allocations: 12.47 kB / 0.951 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.337e-05/0.5563, allocations: 314.8 kB / 0.9513 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.5564, allocations: 7.719 kB / 0.9513 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.5564, allocations: 9.266 kB / 0.9513 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.147e-05/0.5565, allocations: 25.59 kB / 0.9514 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5565, allocations: 0 / 0.9514 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001019/0.5566, allocations: 53.89 kB / 0.9514 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5566, allocations: 7.656 kB / 0.9514 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5566, allocations: 3.938 kB / 0.9514 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.5567, allocations: 0 / 0.9514 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.557, allocations: 44.19 kB / 0.9515 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008665/0.5579, allocations: 1.308 MB / 0.9527 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.558, allocations: 5.281 kB / 0.9527 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.558, allocations: 0.6875 kB / 0.9527 GB, free: 5.305 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.977e-05/0.558, allocations: 116.3 kB / 0.9528 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-06/0.558, allocations: 0 / 0.9528 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.21e-05/0.5581, allocations: 4.656 kB / 0.9529 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5581, allocations: 0 / 0.9529 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.5581, allocations: 5.219 kB / 0.9529 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.5581, allocations: 0 / 0.9529 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.125e-05/0.5581, allocations: 164.1 kB / 0.953 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5581, allocations: 1.219 kB / 0.953 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.5585, allocations: 51.02 kB / 0.9531 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5585, allocations: 1.062 kB / 0.9531 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.5586, allocations: 4 kB / 0.9531 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007661/0.5593, allocations: 1.309 MB / 0.9543 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5593, allocations: 4.156 kB / 0.9544 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.5594, allocations: 78.58 kB / 0.9544 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.5595, allocations: 77.11 kB / 0.9545 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-06/0.5595, allocations: 0.9688 kB / 0.9545 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.804e-05/0.5595, allocations: 1 kB / 0.9545 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.5595, allocations: 11.05 kB / 0.9545 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.5595, allocations: 0 / 0.9545 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.063e-05/0.5596, allocations: 79.28 kB / 0.9546 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5596, allocations: 0 / 0.9546 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001959/0.5598, allocations: 12.25 kB / 0.9546 GB, free: 3.285 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.0002427/0.56, allocations: 0.6096 MB / 0.9552 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.5605, allocations: 60.89 kB / 0.9553 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5605, allocations: 0 / 0.9553 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.5607, allocations: 44.11 kB / 0.9553 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.5609, allocations: 1.031 kB / 0.9553 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.5612, allocations: 129.6 kB / 0.9554 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.178e-05/0.5613, allocations: 0.6756 MB / 0.9561 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.5613, allocations: 2.656 kB / 0.9561 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.5613, allocations: 12.47 kB / 0.9561 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5613, allocations: 0 / 0.9561 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01025/0.5716, allocations: 1.12 MB / 0.9572 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001275/0.5717, allocations: 240.8 kB / 0.9574 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.157, allocations: 0 / 0.9574 GB, free: 0.9531 MB / 0.7169 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