Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.001236/0.001236, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 195.4 kB / 16.53 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.227/2.227, allocations: 390.2 MB / 0.6647 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7259/0.7271, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002424/0.7296, allocations: 1.429 MB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002627/0.7299, allocations: 88.09 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.7299, allocations: 1.031 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.73, allocations: 4 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.73, allocations: 4.875 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.7302, allocations: 24.56 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.7303, allocations: 22.83 kB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.7304, allocations: 6.75 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.7304, allocations: 8.453 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.7304, allocations: 10.81 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.7305, allocations: 3.062 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.7305, allocations: 16.08 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.7305, allocations: 21.3 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.7306, allocations: 10.38 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.205e-05/0.7307, allocations: 32 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7307, allocations: 0 / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7307, allocations: 0 / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.7307, allocations: 5.625 kB / 0.9514 GB, free: 7.789 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.0003394/0.731, allocations: 340.2 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.7311, allocations: 8.875 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.7311, allocations: 35.75 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.7313, allocations: 20.33 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.999e-05/0.7313, allocations: 169.7 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.7314, allocations: 1.688 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.7314, allocations: 1.875 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.7315, allocations: 61.59 kB / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7316, allocations: 7.938 kB / 0.952 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.7316, allocations: 0 / 0.952 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.7316, allocations: 1.375 kB / 0.952 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.7318, allocations: 54.42 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.7321, allocations: 258.8 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.7322, allocations: 55.17 kB / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.7323, allocations: 34.77 kB / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.7324, allocations: 0 / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.7324, allocations: 31.91 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.7324, allocations: 0 / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003821/0.7328, allocations: 112.3 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.7328, allocations: 51.41 kB / 0.9525 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.893e-05/0.7329, allocations: 105.9 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.7329, allocations: 25.7 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.7329, allocations: 85.2 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.7329, allocations: 4.969 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.733, allocations: 15.89 kB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.482e-05/0.733, allocations: 315.9 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.7331, allocations: 26.61 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/0.7332, allocations: 20.69 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.7334, allocations: 55.03 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7334, allocations: 7.875 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002229/0.7336, allocations: 84.02 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7337, allocations: 6.031 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.7337, allocations: 0 / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7337, allocations: 0 / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.7338, allocations: 16.45 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.7338, allocations: 0 / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.7339, allocations: 12.08 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.7339, allocations: 1.344 kB / 0.9533 GB, free: 5.852 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 (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 5.72e-05/0.7339, allocations: 115.1 kB / 0.9534 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.734, allocations: 1.312 kB / 0.9534 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.734, allocations: 4.844 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.734, allocations: 1.312 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.734, allocations: 0 / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.734, allocations: 0 / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.7342, allocations: 168.9 kB / 0.9536 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.7342, allocations: 7.922 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.7342, allocations: 11.75 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.7343, allocations: 3.984 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7343, allocations: 0 / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7343, allocations: 1.906 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7343, allocations: 0 / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.7345, allocations: 182.4 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.7346, allocations: 82.47 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.7346, allocations: 1.438 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.7347, allocations: 4.375 kB / 0.9539 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.7347, allocations: 9.391 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.7347, allocations: 0 / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.722e-05/0.7348, allocations: 81 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7348, allocations: 0 / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002054/0.735, allocations: 4.312 kB / 0.9539 GB, free: 5.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 (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.0004059/0.7354, allocations: 0.7132 MB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.7356, allocations: 57.47 kB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7357, allocations: 0 / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.7358, allocations: 27.33 kB / 0.9547 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.736, allocations: 6.734 kB / 0.9547 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.7364, allocations: 166.7 kB / 0.9549 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.7366, allocations: 0.6814 MB / 0.9556 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.7366, allocations: 5.375 kB / 0.9556 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.7367, allocations: 8.906 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/0.7367, allocations: 0 / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.7524, allocations: 1.426 MB / 0.957 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/7.605, allocations: 11.16 kB / 0.957 GB, free: 2.719 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches