Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_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.001105/0.001105, allocations: 108 kB / 15.6 MB, free: 132 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.001221/0.001221, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 69.05 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2484, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001728/0.2501, allocations: 0.5855 MB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002671/0.2504, allocations: 107.6 kB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.2505, allocations: 4 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.768e-06/0.2505, allocations: 0 / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/0.2505, allocations: 0 / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.2508, allocations: 15.92 kB / 1.054 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.91e-05/0.2509, allocations: 7.984 kB / 1.054 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.2509, allocations: 4 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.251, allocations: 0 / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.2511, allocations: 11.98 kB / 1.054 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2511, allocations: 0 / 1.054 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.979e-05/0.2512, allocations: 15.98 kB / 1.054 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.2512, allocations: 3.938 kB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.2512, allocations: 0 / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2513, allocations: 19.97 kB / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2513, allocations: 0 / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2513, allocations: 4 kB / 1.054 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.2514, allocations: 3.938 kB / 1.054 GB, free: 7.512 MB / 0.8106 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.0004384/0.2518, allocations: 315.6 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.2519, allocations: 16.61 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.2519, allocations: 30.75 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.2521, allocations: 8.922 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2522, allocations: 160.4 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.2522, allocations: 384 / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.2523, allocations: 8.312 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.2524, allocations: 42.19 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2524, allocations: 3.938 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2524, allocations: 4 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2525, allocations: 0 / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.73e-05/0.2525, allocations: 11.98 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.2527, allocations: 153.7 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.2529, allocations: 38.61 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.253, allocations: 20.91 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.253, allocations: 0 / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2531, allocations: 34.5 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.2531, allocations: 0 / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002352/0.2533, allocations: 61.61 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.2534, allocations: 51.41 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.652e-05/0.2534, allocations: 89.86 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2534, allocations: 29.7 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.2535, allocations: 80.14 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.2535, allocations: 16.11 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.2535, allocations: 17.7 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2536, allocations: 314.8 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.2537, allocations: 0 / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.2537, allocations: 15.98 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.983e-05/0.2538, allocations: 32.78 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2538, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001188/0.254, allocations: 50 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.254, allocations: 4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.254, allocations: 3.938 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.254, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.2544, allocations: 47.92 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.2557, allocations: 1.397 MB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.2557, allocations: 0 / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.2557, allocations: 12.11 kB / 1.057 GB, free: 4.105 MB / 0.8106 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 7.947e-05/0.2558, allocations: 109.8 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.2558, allocations: 3.906 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.2559, allocations: 7.5 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2559, allocations: 7.938 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.2559, allocations: 3.938 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2559, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.095e-05/0.256, allocations: 153.6 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.256, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.2564, allocations: 55.86 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2564, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2564, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.2574, allocations: 1.409 MB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2574, allocations: 0 / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.2576, allocations: 77.06 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.2576, allocations: 81.2 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.2576, allocations: 7.938 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.803e-05/0.2576, allocations: 3.984 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.2577, allocations: 0 / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.2577, allocations: 4 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.244e-05/0.2577, allocations: 79.28 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2577, allocations: 0 / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001827/0.2579, allocations: 0 / 1.059 GB, free: 1.879 MB / 0.8106 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.0003461/0.2582, allocations: 0.6163 MB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.2587, allocations: 67.91 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2587, allocations: 0 / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.2589, allocations: 31.97 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.2591, allocations: 15.48 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.2595, allocations: 130.6 kB / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.2597, allocations: 0.6767 MB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.2597, allocations: 0 / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.2598, allocations: 15.42 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2598, allocations: 0 / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3448/0.6045, allocations: 1.239 MB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.4, allocations: 16.86 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches