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.001143/0.001143, 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.001148/0.001148, allocations: 196.1 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.535/2.535, allocations: 437 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.91 kB / 0.8694 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6012, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00181/0.6031, allocations: 0.5842 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.6034, allocations: 99.64 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.6034, allocations: 4 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.6034, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.6035, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.6037, allocations: 11.98 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.6038, allocations: 11.94 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.6038, allocations: 8 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.6038, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.6039, allocations: 11.97 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.6039, allocations: 0 / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.373e-05/0.604, allocations: 12 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.604, allocations: 7.922 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.604, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.181e-05/0.6041, allocations: 11.98 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6041, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6041, allocations: 4 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6042, allocations: 4 kB / 1.018 GB, free: 1.77 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.0003269/0.6045, allocations: 315.6 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6045, allocations: 12.03 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.6046, allocations: 34.75 kB / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.6047, allocations: 12.83 kB / 1.019 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.6048, allocations: 160.4 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.6049, allocations: 384 / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.6049, allocations: 4.375 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.605, allocations: 50.12 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.605, allocations: 3.938 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.605, allocations: 0 / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.605, allocations: 4 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.6051, allocations: 11.98 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.6053, allocations: 153.7 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.6055, allocations: 42.59 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.6055, allocations: 12.92 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.6055, allocations: 7.984 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.6056, allocations: 34.5 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.6056, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0002183/0.6058, allocations: 57.61 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.6058, allocations: 55.41 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.378e-05/0.6059, allocations: 93.86 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.6059, allocations: 29.64 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.6059, allocations: 80.14 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.606, allocations: 14.14 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.606, allocations: 9.719 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.6061, allocations: 318.8 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.6061, allocations: 3.984 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.6062, allocations: 12.17 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.879e-05/0.6063, allocations: 28.78 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.6063, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001268/0.6064, allocations: 45.73 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6064, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6064, allocations: 3.938 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.6065, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.6069, allocations: 47.88 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.6081, allocations: 1.412 MB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.6081, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.6082, allocations: 4.031 kB / 1.021 GB, free: 14.35 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.229e-05/0.6082, allocations: 111.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.6083, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.6083, allocations: 3.5 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.6083, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6083, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6083, allocations: 3.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.642e-05/0.6084, allocations: 169.5 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.6084, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.6088, allocations: 47.92 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6088, allocations: 3.938 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.6088, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.6099, allocations: 1.405 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6099, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.61, allocations: 81.09 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.6101, allocations: 77.11 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.6101, allocations: 11.92 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.003e-05/0.6101, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.6101, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.6102, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.493e-05/0.6102, allocations: 79.28 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6102, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001911/0.6104, allocations: 8 kB / 1.023 GB, free: 12.11 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.0003673/0.6108, allocations: 0.6124 MB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.6112, allocations: 67.84 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6112, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.6115, allocations: 39.95 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.6116, allocations: 1.406 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.6121, allocations: 130.6 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.6123, allocations: 0.6729 MB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.6123, allocations: 3.984 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.6124, allocations: 11.44 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.6124, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.63, allocations: 1.233 MB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.92, allocations: 15.98 kB / 1.026 GB, free: 9.352 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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