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.00176/0.00176, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001929/0.001929, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.591/1.591, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.972/2.972, allocations: 476.7 MB / 0.7678 GB, free: 9.398 MB / 0.6075 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.003415/0.003415, allocations: 71.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.061, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001875/1.063, allocations: 0.5838 MB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000739/1.064, allocations: 343.3 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/1.064, allocations: 0 / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/1.064, allocations: 1.094 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/1.064, allocations: 0 / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/1.064, allocations: 109.7 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.476e-05/1.064, allocations: 3.547 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/1.064, allocations: 0.9375 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/1.064, allocations: 5.062 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.143e-05/1.064, allocations: 0.75 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/1.064, allocations: 1.156 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000505/1.065, allocations: 275.8 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/1.065, allocations: 0.7031 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/1.065, allocations: 5.234 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/1.065, allocations: 90 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.065, allocations: 0 / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.404e-06/1.065, allocations: 0 / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.112e-06/1.065, allocations: 0 / 1.28 GB, free: 11.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003731/1.065, allocations: 336.5 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.065, allocations: 9.625 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.795e-05/1.065, allocations: 192 / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/1.065, allocations: 32.36 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/1.065, allocations: 5.875 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/1.066, allocations: 162.3 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/1.066, allocations: 384 / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/1.066, allocations: 1.438 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/1.066, allocations: 36.89 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/1.066, allocations: 4 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/1.066, allocations: 0.75 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/1.066, allocations: 0 / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/1.066, allocations: 2.188 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/1.066, allocations: 145.1 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/1.066, allocations: 23.83 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/1.066, allocations: 10.14 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005656/1.067, allocations: 430 kB / 1.281 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.067, allocations: 39.05 kB / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/1.067, allocations: 1.344 kB / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001731/1.067, allocations: 31.84 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.067, allocations: 52.86 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.252e-05/1.067, allocations: 93.98 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/1.067, allocations: 25.7 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/1.067, allocations: 80.83 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/1.067, allocations: 9.281 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/1.067, allocations: 16.73 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.067, allocations: 310.8 kB / 1.282 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/1.067, allocations: 5.672 kB / 1.282 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-06/1.067, allocations: 1.062 kB / 1.282 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/1.067, allocations: 16.83 kB / 1.282 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.067, allocations: 0 / 1.282 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.245e-05/1.067, allocations: 37.06 kB / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.067, allocations: 9.828 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.067, allocations: 0 / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.067, allocations: 0.9375 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.072e-05/1.067, allocations: 1.906 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/1.067, allocations: 1.281 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-06/1.067, allocations: 0.5625 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/1.067, allocations: 5 kB / 1.282 GB, free: 8.906 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 (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 7.719e-05/1.067, allocations: 113.5 kB / 1.282 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/1.067, allocations: 5.625 kB / 1.282 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.265e-05/1.068, allocations: 44.36 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.068, allocations: 0 / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.068, allocations: 1.188 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.068, allocations: 0.6094 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/1.068, allocations: 152.1 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.068, allocations: 0.7031 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/1.068, allocations: 2.031 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/1.068, allocations: 3.938 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/1.068, allocations: 1.688 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/1.068, allocations: 0 / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.068, allocations: 1.156 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.762e-05/1.068, allocations: 57.31 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/1.068, allocations: 86.81 kB / 1.283 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/1.068, allocations: 5.812 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-06/1.068, allocations: 0 / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/1.068, allocations: 5.641 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/1.068, allocations: 0 / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.478e-05/1.068, allocations: 76.34 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.068, allocations: 0 / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002067/1.068, allocations: 9.375 kB / 1.283 GB, free: 8.289 MB / 0.9981 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.0004978/1.069, allocations: 0.6119 MB / 1.283 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.841e-05/1.069, allocations: 12 kB / 1.283 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/1.069, allocations: 0 / 1.283 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/1.069, allocations: 2.281 kB / 1.283 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/1.069, allocations: 3.938 kB / 1.283 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/1.069, allocations: 114.8 kB / 1.283 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/1.069, allocations: 0.6751 MB / 1.284 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.018e-05/1.069, allocations: 4.891 kB / 1.284 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/1.069, allocations: 9.25 kB / 1.284 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.069, allocations: 0 / 1.284 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/1.087, allocations: 1.242 MB / 1.285 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.567, allocations: 9.188 kB / 1.285 GB, free: 6.441 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.350344057020266]