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.002114/0.002114, allocations: 81.06 kB / 19.18 MB, free: 2.527 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.002443/0.002443, allocations: 168.7 kB / 22.46 MB, free: 5.359 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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 2.882/2.882, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.948e-05, allocations: 2.281 kB / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001798/0.001828, allocations: 0.5975 MB / 1.001 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007193/0.002547, allocations: 302.8 kB / 1.001 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.002564, allocations: 0 / 1.001 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.002577, allocations: 0 / 1.001 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.002583, allocations: 0 / 1.001 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.003093, allocations: 112.8 kB / 1.001 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.691e-05/0.00314, allocations: 0 / 1.001 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.003187, allocations: 4 kB / 1.001 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.552e-05/0.003213, allocations: 0 / 1.001 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.448e-05/0.003237, allocations: 0 / 1.001 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.003251, allocations: 0 / 1.001 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004593/0.003711, allocations: 263.6 kB / 1.001 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.003724, allocations: 0 / 1.001 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.00374, allocations: 3.984 kB / 1.001 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.003971, allocations: 111.8 kB / 1.002 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.003974, allocations: 0 / 1.002 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003975, allocations: 0 / 1.002 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.00398, allocations: 0 / 1.002 GB, free: 5.863 MB / 0.9512 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.0003551/0.004335, allocations: 266.1 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.004376, allocations: 12.03 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.004429, allocations: 0.9375 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.52e-05/0.004514, allocations: 101.8 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.004529, allocations: 4.312 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.004543, allocations: 4.375 kB / 1.002 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.00465, allocations: 30.27 kB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.004659, allocations: 4.125 kB / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004667, allocations: 384 / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.004672, allocations: 384 / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.556e-05/0.004698, allocations: 7.938 kB / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.004832, allocations: 101.3 kB / 1.002 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.51e-05/0.004887, allocations: 18.61 kB / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.004905, allocations: 8.797 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.005286, allocations: 44.03 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.005332, allocations: 34.55 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.005333, allocations: 0 / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001675/0.0055, allocations: 33.7 kB / 1.002 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.005541, allocations: 55.41 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.258e-05/0.005584, allocations: 89.86 kB / 1.002 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.005602, allocations: 25.7 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.005637, allocations: 80.14 kB / 1.002 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.005664, allocations: 0 / 1.002 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.005697, allocations: 17.84 kB / 1.002 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.005835, allocations: 314.8 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.005846, allocations: 3.938 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/0.005855, allocations: 3.984 kB / 1.003 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/0.005897, allocations: 12.86 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005899, allocations: 0 / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.882e-05/0.005987, allocations: 33.7 kB / 1.003 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.006002, allocations: 4 kB / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006006, allocations: 0 / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.006024, allocations: 4.094 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.00607, allocations: 4 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006074, allocations: 3.938 kB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.00609, allocations: 7.891 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.006095, allocations: 0 / 1.003 GB, free: 4.383 MB / 0.9512 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.302e-05/0.006178, allocations: 113.8 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.006217, allocations: 4 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.006319, allocations: 36.7 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.006323, allocations: 4 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.006327, allocations: 4.031 kB / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.00633, allocations: 0 / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.737e-05/0.006427, allocations: 109.2 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.006428, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.486e-05/0.006443, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.006445, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.006452, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.006458, allocations: 4 kB / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006459, allocations: 3.938 kB / 1.003 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.00656, allocations: 65 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-06/0.006567, allocations: 12.02 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006576, allocations: 0 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.006583, allocations: 0 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.006601, allocations: 0 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.006603, allocations: 0 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.00664, allocations: 79.28 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.006641, allocations: 0 / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002027/0.006843, allocations: 11.94 kB / 1.003 GB, free: 3.879 MB / 0.9512 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.0002009/0.007044, allocations: 115.2 kB / 1.003 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.719e-05/0.007111, allocations: 8 kB / 1.003 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.007119, allocations: 0 / 1.003 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.007134, allocations: 11.94 kB / 1.003 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.007271, allocations: 0 / 1.003 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.007501, allocations: 80.98 kB / 1.003 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.932e-05/0.00755, allocations: 51.36 kB / 1.003 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.007569, allocations: 4 kB / 1.003 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.007589, allocations: 8.5 kB / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.007589, allocations: 0 / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of Templates: time 0.003056/0.01065, allocations: 482.2 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/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: 7.994913771748543]