Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001293/0.001293, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001508/0.001508, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7715 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",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.002073/0.002073, allocations: 65.56 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3872, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002186/0.3894, allocations: 0.5974 MB / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009825/0.3904, allocations: 330.9 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.3904, allocations: 0 / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.3904, allocations: 0 / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.485e-06/0.3904, allocations: 0 / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007239/0.3912, allocations: 115.6 kB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.3912, allocations: 4 kB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.3913, allocations: 0 / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.3913, allocations: 0 / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.3913, allocations: 0 / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3914, allocations: 4 kB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006236/0.392, allocations: 275.6 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.392, allocations: 3.938 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.392, allocations: 4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.3923, allocations: 96.36 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3923, allocations: 4 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.026e-06/0.3923, allocations: 0 / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3923, allocations: 0 / 1.286 GB, free: 10.27 MB / 0.9825 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.0004462/0.3928, allocations: 258.2 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.3929, allocations: 8.031 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.426e-05/0.3929, allocations: 4.188 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.3929, allocations: 30.75 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.393, allocations: 0.9375 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3931, allocations: 106.5 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3931, allocations: 4.375 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.3931, allocations: 384 / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3933, allocations: 34.02 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3933, allocations: 0 / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3933, allocations: 0 / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3933, allocations: 0 / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.632e-05/0.3933, allocations: 11.92 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.3935, allocations: 116.8 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.3936, allocations: 18.58 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.3936, allocations: 8.953 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004282/0.394, allocations: 39.95 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.3941, allocations: 38.5 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 3.526e-06/0.3941, allocations: 3.984 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002661/0.3943, allocations: 41.64 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.3944, allocations: 55.34 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.3944, allocations: 89.86 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3945, allocations: 29.64 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.3945, allocations: 80.14 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.3945, allocations: 3.953 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3946, allocations: 17.84 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3947, allocations: 314.8 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.3948, allocations: 4 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.3948, allocations: 4 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.3948, allocations: 4.859 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3948, allocations: 0 / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001003/0.3949, allocations: 37.64 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3949, allocations: 7.938 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3949, allocations: 4.094 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3949, allocations: 0 / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.395, allocations: 7.984 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.395, allocations: 0 / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.395, allocations: 0 / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.395, allocations: 0 / 1.287 GB, free: 8.715 MB / 0.9825 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 9.858e-05/0.3951, allocations: 105.8 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.3952, allocations: 11.94 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3953, allocations: 40.64 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3953, allocations: 3.984 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3953, allocations: 0 / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3953, allocations: 0 / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3954, allocations: 116.8 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3954, allocations: 0 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.3954, allocations: 0 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.3954, allocations: 3.938 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3955, allocations: 0 / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3955, allocations: 4 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3955, allocations: 32 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.3956, allocations: 61.12 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.3956, allocations: 4 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.3956, allocations: 7.938 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-06/0.3956, allocations: 0 / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.3956, allocations: 3.938 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3956, allocations: 0 / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.3957, allocations: 83.25 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3957, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00023/0.3959, allocations: 23.92 kB / 1.287 GB, free: 8.18 MB / 0.9825 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.0006489/0.3966, allocations: 0.6046 MB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.3967, allocations: 8.031 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3967, allocations: 0 / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.3967, allocations: 7.938 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3969, allocations: 2.188 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.3973, allocations: 118.5 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.3978, allocations: 0.669 MB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.3978, allocations: 3.984 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.3978, allocations: 7.438 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of SimCode: time 9.42e-07/0.3978, allocations: 4.125 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.423, allocations: 1.316 MB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.46, allocations: 11.94 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.63467463501729]