Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 67.91 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7888, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001419/0.7902, allocations: 0.6148 MB / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002414/0.7904, allocations: 91.05 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.7905, allocations: 1.344 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.7905, allocations: 4 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.133e-05/0.7905, allocations: 0.7812 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.7907, allocations: 13.64 kB / 1.272 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.331e-05/0.7907, allocations: 13.94 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.7908, allocations: 2.984 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.585e-05/0.7908, allocations: 2.875 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.7909, allocations: 5.438 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.7909, allocations: 0 / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.418e-05/0.7909, allocations: 14.45 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.7909, allocations: 5.281 kB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.7909, allocations: 6.094 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.149e-05/0.791, allocations: 19.52 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.791, allocations: 0.6875 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.791, allocations: 0 / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.791, allocations: 0.7188 kB / 1.272 GB, free: 7.242 MB / 0.9981 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.0002317/0.7913, allocations: 317 kB / 1.272 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.7913, allocations: 9.719 kB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.7913, allocations: 40.08 kB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.7915, allocations: 14.23 kB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.511e-05/0.7915, allocations: 161 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.7915, allocations: 1.375 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.7915, allocations: 2.469 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.7916, allocations: 39.08 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7916, allocations: 4.594 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.7917, allocations: 0.9375 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.7917, allocations: 3.984 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.542e-05/0.7917, allocations: 12.56 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.642e-05/0.7918, allocations: 154 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.792, allocations: 42.8 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.792, allocations: 19.05 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.792, allocations: 0.7188 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.792, allocations: 40.31 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.792, allocations: 0 / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001821/0.7922, allocations: 59.78 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.7922, allocations: 53.06 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.273e-05/0.7922, allocations: 89.86 kB / 1.273 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.7923, allocations: 26.39 kB / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.035e-06/0.7923, allocations: 80.95 kB / 1.273 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.7923, allocations: 18.38 kB / 1.273 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.7923, allocations: 17.34 kB / 1.273 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.156e-05/0.7923, allocations: 321.1 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.7924, allocations: 4.734 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/0.7924, allocations: 6.672 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7e-05/0.7925, allocations: 21.09 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7925, allocations: 0 / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.481e-05/0.7926, allocations: 51.23 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.7926, allocations: 9.703 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7926, allocations: 4.75 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7926, allocations: 0 / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.793, allocations: 41.88 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008831/0.7939, allocations: 1.406 MB / 1.275 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.7939, allocations: 2.609 kB / 1.275 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.7939, allocations: 0.5938 kB / 1.275 GB, free: 4.137 MB / 0.9981 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 3.941e-05/0.7939, allocations: 115.8 kB / 1.275 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-06/0.7939, allocations: 2.312 kB / 1.275 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.01e-05/0.794, allocations: 12.14 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.794, allocations: 0.7188 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-07/0.794, allocations: 0.9062 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.794, allocations: 0.6094 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.879e-05/0.794, allocations: 155.1 kB / 1.275 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.794, allocations: 0.5625 kB / 1.275 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.7944, allocations: 50.56 kB / 1.275 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7944, allocations: 0.75 kB / 1.275 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.7944, allocations: 0.5156 kB / 1.275 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009596/0.7953, allocations: 1.408 MB / 1.277 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7953, allocations: 8.812 kB / 1.277 GB, free: 18.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.7954, allocations: 71.19 kB / 1.277 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.7955, allocations: 81.73 kB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-06/0.7955, allocations: 4.5 kB / 1.277 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.519e-05/0.7955, allocations: 1.969 kB / 1.277 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.7955, allocations: 4.688 kB / 1.277 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.7955, allocations: 8.938 kB / 1.277 GB, free: 18.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.7956, allocations: 75.94 kB / 1.277 GB, free: 18.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.7956, allocations: 3.938 kB / 1.277 GB, free: 18.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001819/0.7957, allocations: 3.219 kB / 1.277 GB, free: 18.09 MB / 1.014 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.0003917/0.7961, allocations: 0.6149 MB / 1.278 GB, free: 17.49 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.7966, allocations: 62.12 kB / 1.278 GB, free: 17.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7966, allocations: 0 / 1.278 GB, free: 17.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.7968, allocations: 41.88 kB / 1.278 GB, free: 17.47 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.7969, allocations: 3.125 kB / 1.278 GB, free: 17.47 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.7972, allocations: 128.7 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.7975, allocations: 0.6748 MB / 1.279 GB, free: 16.63 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.7975, allocations: 11.78 kB / 1.279 GB, free: 16.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.7976, allocations: 13.16 kB / 1.279 GB, free: 16.61 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.7976, allocations: 0 / 1.279 GB, free: 16.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.822, allocations: 1.263 MB / 1.28 GB, free: 16.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.984/10.81, allocations: 11.62 kB / 1.28 GB, free: 16.23 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.07162269500077]