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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009102/0.0009101, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.005454/0.005454, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 15.52 kB / 0.9029 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2635, allocations: 159.6 MB / 1.059 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006258/0.2642, allocations: 334.8 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002755/0.2645, allocations: 95.67 kB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-06/0.2645, allocations: 0 / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.2645, allocations: 8 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.2646, allocations: 0 / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.2647, allocations: 11.98 kB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.56e-05/0.2648, allocations: 4 kB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.2648, allocations: 3.938 kB / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.863e-05/0.2648, allocations: 7.984 kB / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.2649, allocations: 7.984 kB / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.527e-06/0.2649, allocations: 0 / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.265, allocations: 11.98 kB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.265, allocations: 7.938 kB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.265, allocations: 29.7 kB / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.447e-05/0.2651, allocations: 11.98 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2651, allocations: 0 / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2651, allocations: 0 / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.2651, allocations: 0 / 1.059 GB, free: 4.258 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.0002856/0.2654, allocations: 319.6 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2654, allocations: 11.97 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/0.2655, allocations: 34.75 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.2656, allocations: 8.922 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.192e-05/0.2657, allocations: 164.4 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2657, allocations: 384 / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.2657, allocations: 4.312 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.2658, allocations: 46.19 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2659, allocations: 7.875 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2659, allocations: 7.969 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2659, allocations: 0 / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.259e-05/0.266, allocations: 15.98 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.2661, allocations: 149.7 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.2662, allocations: 46.59 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.2663, allocations: 8.922 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.2663, allocations: 3.984 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.2663, allocations: 34.56 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2663, allocations: 7.938 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001809/0.2665, allocations: 61.61 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.2666, allocations: 51.41 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.096e-05/0.2666, allocations: 89.86 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2666, allocations: 25.7 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.045e-05/0.2666, allocations: 80.14 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.2667, allocations: 12.11 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.2667, allocations: 17.72 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.2668, allocations: 314.8 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.2668, allocations: 4 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.2669, allocations: 7.984 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.468e-05/0.2669, allocations: 24.78 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2669, allocations: 0 / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001026/0.267, allocations: 45.69 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2671, allocations: 8.938 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2671, allocations: 7.938 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.2671, allocations: 0 / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.2675, allocations: 43.92 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.2686, allocations: 1.314 MB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.2686, allocations: 4.031 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.2686, allocations: 0 / 1.062 GB, free: 0.9453 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 6.292e-05/0.2687, allocations: 111.6 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.2687, allocations: 7.891 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.2687, allocations: 15.48 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2687, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.2687, allocations: 3.938 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2687, allocations: 64 / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.849e-05/0.2688, allocations: 153.6 kB / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2688, allocations: 3.984 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.2692, allocations: 39.94 kB / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2692, allocations: 0 / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2692, allocations: 8 kB / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009744/0.2702, allocations: 1.31 MB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2702, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.2703, allocations: 80.94 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.2703, allocations: 77.11 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-06/0.2704, allocations: 4.078 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.2704, allocations: 8 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.2704, allocations: 4 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2704, allocations: 0 / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.168e-05/0.2704, allocations: 75.28 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2705, allocations: 0 / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001803/0.2706, allocations: 7.938 kB / 1.064 GB, free: 14.82 MB / 0.8262 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.0003489/0.271, allocations: 0.6124 MB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.2714, allocations: 63.91 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2714, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.2717, allocations: 35.95 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.2718, allocations: 288 / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.2721, allocations: 132.5 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.2723, allocations: 0.677 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.2724, allocations: 7.969 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.2724, allocations: 15.44 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of SimCode: time 1.603e-06/0.2724, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.632/1.905, allocations: 1.061 MB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003236/1.905, allocations: 256 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/4.207, allocations: 2.812 kB / 1.067 GB, free: 12.03 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