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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 108.5 kB / 16.46 MB, free: 6.504 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.001323/0.001323, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 67.89 kB / 1.056 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8988/0.9014, allocations: 160.7 MB / 1.213 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002096/0.9035, allocations: 0.5853 MB / 1.214 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000357/0.9038, allocations: 99.78 kB / 1.214 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.9039, allocations: 1.156 kB / 1.214 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.9039, allocations: 0 / 1.214 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.9039, allocations: 7.875 kB / 1.214 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.9042, allocations: 18.45 kB / 1.214 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.439e-05/0.9042, allocations: 3.375 kB / 1.214 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.9043, allocations: 1.094 kB / 1.214 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.9043, allocations: 11.28 kB / 1.214 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.9044, allocations: 5.078 kB / 1.214 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.9044, allocations: 1.062 kB / 1.214 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.052e-05/0.9045, allocations: 15.45 kB / 1.214 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.9045, allocations: 3.984 kB / 1.214 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.9045, allocations: 5.281 kB / 1.214 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.764e-05/0.9046, allocations: 11.09 kB / 1.214 GB, free: 3.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.9046, allocations: 4.719 kB / 1.214 GB, free: 3.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.225e-06/0.9046, allocations: 0 / 1.214 GB, free: 3.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.9046, allocations: 4.844 kB / 1.214 GB, free: 3.223 MB / 0.92 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.000419/0.9051, allocations: 320.9 kB / 1.214 GB, free: 2.863 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.9051, allocations: 11.12 kB / 1.214 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.9051, allocations: 30.75 kB / 1.214 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.9053, allocations: 14.03 kB / 1.214 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.9054, allocations: 164.4 kB / 1.214 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.9054, allocations: 1.531 kB / 1.214 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.9055, allocations: 1.531 kB / 1.214 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.9056, allocations: 39.11 kB / 1.214 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.9056, allocations: 9.094 kB / 1.214 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.9056, allocations: 4 kB / 1.214 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.9056, allocations: 3.984 kB / 1.214 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.9057, allocations: 19.3 kB / 1.214 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.9059, allocations: 149.1 kB / 1.214 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.9061, allocations: 43.88 kB / 1.214 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.9061, allocations: 13.2 kB / 1.214 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.9061, allocations: 1.062 kB / 1.214 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.9062, allocations: 34.56 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9062, allocations: 1.156 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002278/0.9064, allocations: 60.17 kB / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.9064, allocations: 52.5 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.531e-05/0.9065, allocations: 93.86 kB / 1.215 GB, free: 2.051 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.9065, allocations: 26.77 kB / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.9065, allocations: 80.14 kB / 1.215 GB, free: 1.938 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.9066, allocations: 17 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.9066, allocations: 16.94 kB / 1.215 GB, free: 1.902 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9067, allocations: 311.9 kB / 1.215 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.9068, allocations: 11.27 kB / 1.215 GB, free: 1.582 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.9068, allocations: 3.938 kB / 1.215 GB, free: 1.582 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.9069, allocations: 25.72 kB / 1.215 GB, free: 1.562 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9069, allocations: 0 / 1.215 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001204/0.907, allocations: 50.19 kB / 1.215 GB, free: 1.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.907, allocations: 5.844 kB / 1.215 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.907, allocations: 3.938 kB / 1.215 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9071, allocations: 1.125 kB / 1.215 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.9074, allocations: 47.14 kB / 1.215 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.909, allocations: 1.408 MB / 1.217 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.909, allocations: 5.203 kB / 1.217 GB, free: 0 / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.909, allocations: 5.484 kB / 1.217 GB, free: 15.99 MB / 0.9356 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 9.385e-05/0.9091, allocations: 115.1 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.9091, allocations: 1.344 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.9091, allocations: 3.5 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.9091, allocations: 0.9375 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.9091, allocations: 0 / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.9091, allocations: 0.75 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.9093, allocations: 156.8 kB / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.9093, allocations: 0 / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.9096, allocations: 51.61 kB / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9096, allocations: 0.9688 kB / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.9097, allocations: 4 kB / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.911, allocations: 1.416 MB / 1.218 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.911, allocations: 3.938 kB / 1.218 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.9112, allocations: 71.53 kB / 1.218 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.9112, allocations: 81.09 kB / 1.219 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.9112, allocations: 13.16 kB / 1.219 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.773e-05/0.9113, allocations: 1.094 kB / 1.219 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.9113, allocations: 1.062 kB / 1.219 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.9113, allocations: 1.125 kB / 1.219 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.9113, allocations: 76.34 kB / 1.219 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.9113, allocations: 0 / 1.219 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002023/0.9115, allocations: 3.375 kB / 1.219 GB, free: 13.89 MB / 0.9356 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.0004966/0.912, allocations: 0.6172 MB / 1.219 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.9125, allocations: 67.94 kB / 1.219 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9125, allocations: 0 / 1.219 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.9127, allocations: 35.45 kB / 1.219 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.9129, allocations: 5 kB / 1.219 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.9134, allocations: 130.6 kB / 1.219 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.9137, allocations: 0.6799 MB / 1.22 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.9137, allocations: 2.094 kB / 1.22 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.9138, allocations: 8.562 kB / 1.22 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.9138, allocations: 0.9062 kB / 1.22 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.9414, allocations: 1.295 MB / 1.221 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.01, allocations: 6.359 kB / 1.221 GB, free: 11.64 MB / 0.9356 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 19.023806483950466]