Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001569/0.001569, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002289/0.002289, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.973 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.36/3.36, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",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.002053/0.002053, allocations: 62.94 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3806, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001794/0.3824, allocations: 0.5874 MB / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.3831, allocations: 339.2 kB / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.3831, allocations: 0 / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.3831, allocations: 0 / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-06/0.3831, allocations: 0 / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.3836, allocations: 110.6 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.15e-05/0.3836, allocations: 0 / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.3836, allocations: 4 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.292e-05/0.3837, allocations: 4 kB / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.212e-05/0.3837, allocations: 0 / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3837, allocations: 0 / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.3841, allocations: 283.6 kB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.3841, allocations: 0 / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.3841, allocations: 0 / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3843, allocations: 91.95 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3843, allocations: 0 / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3843, allocations: 0 / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3843, allocations: 3.938 kB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003219/0.3847, allocations: 268.1 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3847, allocations: 8.031 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.3847, allocations: 30.75 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.3848, allocations: 0.9375 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.3849, allocations: 106.5 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.3849, allocations: 384 / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.3849, allocations: 384 / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.561e-05/0.385, allocations: 30.25 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.385, allocations: 3.938 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.385, allocations: 4 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.385, allocations: 7.938 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.385, allocations: 3.984 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.3852, allocations: 120.7 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.579e-05/0.3852, allocations: 18.61 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.3852, allocations: 4.859 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.3856, allocations: 48.02 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3856, allocations: 30.56 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.3856, allocations: 0 / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001554/0.3858, allocations: 41.58 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.3858, allocations: 51.41 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.3859, allocations: 89.86 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3859, allocations: 29.83 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.3859, allocations: 84.14 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.3859, allocations: 7.938 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.386, allocations: 13.7 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3861, allocations: 314.8 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.3861, allocations: 7.938 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.3861, allocations: 0 / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.3861, allocations: 8.859 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3861, allocations: 4.062 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.622e-05/0.3862, allocations: 33.64 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3862, allocations: 8 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3862, allocations: 3.938 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3862, allocations: 0 / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.3863, allocations: 3.984 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3863, allocations: 0 / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-06/0.3863, allocations: 0 / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.3863, allocations: 8 kB / 1.356 GB, free: 5.449 MB / 1.045 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.098e-05/0.3864, allocations: 117.8 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.3864, allocations: 0 / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/0.3865, allocations: 40.62 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3865, allocations: 0 / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3865, allocations: 4 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3865, allocations: 3.938 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.414e-05/0.3866, allocations: 116.8 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3866, allocations: 0 / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.3866, allocations: 4 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.3866, allocations: 4.031 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3866, allocations: 3.938 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3866, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3866, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.698e-05/0.3867, allocations: 61.12 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-06/0.3867, allocations: 3.938 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.3867, allocations: 3.938 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.3867, allocations: 4.031 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.3867, allocations: 0 / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.3867, allocations: 4 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.3868, allocations: 75.28 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3868, allocations: 0 / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001928/0.387, allocations: 19.92 kB / 1.356 GB, free: 4.914 MB / 1.045 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004773/0.3875, allocations: 0.6046 MB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.034e-05/0.3875, allocations: 7.938 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3875, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.3875, allocations: 7.938 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.3877, allocations: 3.938 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.388, allocations: 106.6 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.3883, allocations: 0.6769 MB / 1.357 GB, free: 3.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.691e-05/0.3883, allocations: 4 kB / 1.357 GB, free: 3.406 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.3883, allocations: 7.438 kB / 1.357 GB, free: 3.402 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3883, allocations: 0 / 1.357 GB, free: 3.402 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.4173, allocations: 1.286 MB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.13, allocations: 6.344 kB / 1.359 GB, free: 2.238 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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: 18.30935535699973]