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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 210.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.39/3.39, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 63.19 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3733, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001785/0.3751, allocations: 0.6018 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003398/0.3754, allocations: 96.16 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.3755, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.3755, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.3755, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.3758, allocations: 19.92 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.3758, allocations: 7.984 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.3759, allocations: 4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.3759, allocations: 7.938 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.376, allocations: 3.984 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.376, allocations: 0 / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.3761, allocations: 15.98 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.3761, allocations: 0 / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.3761, allocations: 7.938 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3762, allocations: 20.14 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.3762, allocations: 3.984 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3762, allocations: 0 / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3762, allocations: 0 / 1.364 GB, free: 13.37 MB / 1.061 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.0003948/0.3766, allocations: 242.5 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3767, allocations: 8.031 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.3767, allocations: 30.75 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.3768, allocations: 12.92 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.578e-05/0.3769, allocations: 114.4 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.377, allocations: 384 / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.377, allocations: 4.375 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.3771, allocations: 38.25 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3771, allocations: 3.938 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3771, allocations: 4 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3771, allocations: 0 / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.3772, allocations: 15.97 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.3774, allocations: 120.8 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3775, allocations: 42.53 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.3776, allocations: 16.91 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3776, allocations: 4 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3776, allocations: 30.56 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3776, allocations: 4 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002077/0.3778, allocations: 53.62 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3779, allocations: 59.39 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.252e-05/0.3779, allocations: 89.86 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.378, allocations: 25.7 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.378, allocations: 88.06 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.378, allocations: 7.953 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3781, allocations: 21.66 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3782, allocations: 310.8 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.3782, allocations: 11.98 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.3783, allocations: 4 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.3783, allocations: 20.84 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3784, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001151/0.3785, allocations: 53.62 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3785, allocations: 8 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3785, allocations: 3.938 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3785, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.3789, allocations: 47.88 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.3803, allocations: 1.301 MB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.3803, allocations: 4.031 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.3803, allocations: 3.938 kB / 1.367 GB, free: 10.28 MB / 1.061 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.488e-05/0.3804, allocations: 117.7 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.3804, allocations: 336 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.519e-05/0.3804, allocations: 7.531 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3805, allocations: 4.094 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3805, allocations: 3.984 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3805, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.3806, allocations: 124.7 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3806, allocations: 0 / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.3809, allocations: 51.92 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3809, allocations: 0 / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.381, allocations: 0 / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.3822, allocations: 1.305 MB / 1.368 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3822, allocations: 3.984 kB / 1.368 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.3824, allocations: 73.14 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-06/0.3824, allocations: 0 / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3824, allocations: 7.938 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.3824, allocations: 4 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.3824, allocations: 7.984 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.3824, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.3825, allocations: 75.38 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3825, allocations: 4 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000198/0.3827, allocations: 4 kB / 1.369 GB, free: 8.309 MB / 1.061 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.0005296/0.3832, allocations: 0.6162 MB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.3837, allocations: 59.92 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3837, allocations: 0 / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.3839, allocations: 35.89 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.3841, allocations: 5.891 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.3845, allocations: 122.5 kB / 1.369 GB, free: 7.402 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.489e-05/0.3846, allocations: 59.36 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.3846, allocations: 8.266 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.3847, allocations: 7.438 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3847, allocations: 0 / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.4135, allocations: 1.758 MB / 1.371 GB, free: 5.695 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.13, allocations: 4.453 kB / 1.371 GB, free: 5.695 MB / 1.061 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.170517993159592]