Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_10_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.001611/0.001611, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001824/0.001824, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.437/2.437, allocations: 437 MB / 0.7101 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.91 kB / 0.8689 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7674, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001836/0.7692, allocations: 0.6412 MB / 1.018 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002908/0.7695, allocations: 103.6 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-06/0.7696, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.7696, allocations: 3.938 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.7697, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.7699, allocations: 16 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.7699, allocations: 7.984 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.77, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/0.77, allocations: 3.984 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.7701, allocations: 8 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.7701, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.428e-05/0.7701, allocations: 11.98 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.7702, allocations: 4 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.7702, allocations: 3.938 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.244e-05/0.7703, allocations: 19.97 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7703, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7703, allocations: 3.938 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7703, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.7637 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.0003241/0.7706, allocations: 315.6 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.7707, allocations: 16.02 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.7707, allocations: 30.75 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.7709, allocations: 12.83 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.865e-05/0.771, allocations: 164.4 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.771, allocations: 8.375 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.771, allocations: 384 / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.7711, allocations: 34.25 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.7711, allocations: 3.938 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.7711, allocations: 3.938 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.7712, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.7712, allocations: 19.92 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.7714, allocations: 161.7 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.7715, allocations: 42.66 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.7716, allocations: 16.84 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.7716, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.7716, allocations: 34.56 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.7716, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0001998/0.7719, allocations: 61.55 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.7719, allocations: 51.41 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.2e-05/0.7719, allocations: 89.86 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.772, allocations: 25.7 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.772, allocations: 84.14 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.772, allocations: 10.16 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.7721, allocations: 17.7 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.7722, allocations: 314.8 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.7722, allocations: 8 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.15e-05/0.7722, allocations: 11.92 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.133e-05/0.7723, allocations: 20.84 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7723, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001026/0.7724, allocations: 49.62 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.7725, allocations: 4 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7725, allocations: 11.94 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.7725, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.7729, allocations: 43.92 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.7741, allocations: 1.4 MB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.7741, allocations: 4.031 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.7742, allocations: 3.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 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.892e-05/0.7742, allocations: 114.3 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.7743, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.7743, allocations: 7.562 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.7743, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.7743, allocations: 336 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.7743, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.7744, allocations: 165.5 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7744, allocations: 3.938 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.7748, allocations: 51.92 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.7748, allocations: 3.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.7748, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.7759, allocations: 1.404 MB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7759, allocations: 0 / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.776, allocations: 76.98 kB / 1.022 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.7761, allocations: 81.11 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-06/0.7761, allocations: 7.938 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.712e-05/0.7761, allocations: 3.984 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.7761, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7761, allocations: 8.062 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.351e-05/0.7762, allocations: 75.28 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7762, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001859/0.7764, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 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.0003699/0.7767, allocations: 0.6124 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004299/0.7772, allocations: 63.84 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7772, allocations: 0 / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.7774, allocations: 35.97 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.7776, allocations: 7.984 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.7781, allocations: 124.8 kB / 1.023 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.7784, allocations: 0.6729 MB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.7784, allocations: 8 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.7785, allocations: 11.42 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7785, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.7908, allocations: 1.165 MB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.791, allocations: 244.2 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.479, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches