Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 198.3 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.878/2.878, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.91 kB / 1.109 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.86/0.8621, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001732/0.8638, allocations: 0.6365 MB / 1.275 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000707/0.8645, allocations: 358.7 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.8645, allocations: 0 / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.8645, allocations: 4 kB / 1.275 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.134e-05/0.8646, allocations: 3.938 kB / 1.275 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.865, allocations: 112.7 kB / 1.275 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.8651, allocations: 27.92 kB / 1.275 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.8651, allocations: 4 kB / 1.275 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.8651, allocations: 15.92 kB / 1.275 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.8652, allocations: 19.86 kB / 1.275 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.8652, allocations: 0 / 1.275 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.8656, allocations: 275.6 kB / 1.276 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.8656, allocations: 0 / 1.276 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.8656, allocations: 15.92 kB / 1.276 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.8658, allocations: 102.4 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8658, allocations: 0 / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8658, allocations: 0 / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8659, allocations: 4 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004722/0.8663, allocations: 367.1 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.8664, allocations: 12.03 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.8664, allocations: 4.891 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.8665, allocations: 168.3 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.8666, allocations: 384 / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.8666, allocations: 8.375 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.8667, allocations: 54.16 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.8667, allocations: 8.172 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.8667, allocations: 11.94 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.8667, allocations: 0 / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.8668, allocations: 15.98 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.867, allocations: 169.6 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.8671, allocations: 54.56 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.842e-05/0.8671, allocations: 28.84 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007233/0.8679, allocations: 461.5 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.8679, allocations: 38.5 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.8679, allocations: 0 / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001347/0.8692, allocations: 0.5918 MB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.8693, allocations: 51.41 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.8693, allocations: 97.86 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.8694, allocations: 25.7 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.8694, allocations: 84.14 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.8695, allocations: 51.58 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.8695, allocations: 25.7 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8696, allocations: 314.8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/0.8697, allocations: 19.98 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.044e-05/0.8697, allocations: 23.98 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.8698, allocations: 67.36 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.8698, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001661/0.87, allocations: 97.52 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.87, allocations: 9.562 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.87, allocations: 0 / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.87, allocations: 4 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.8701, allocations: 19.98 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.8701, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.8702, allocations: 8 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.8702, allocations: 0 / 1.278 GB, free: 15.71 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 (13): * Single equations (assignments): 13 * 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.15e-05/0.8703, allocations: 121.8 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.8703, allocations: 7.938 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.8705, allocations: 109.6 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8705, allocations: 4 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8705, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8705, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.8709, allocations: 354.4 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8709, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.871, allocations: 24.17 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.871, allocations: 0 / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.871, allocations: 4 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.871, allocations: 4 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.871, allocations: 7.984 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.8713, allocations: 219.3 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.8714, allocations: 89.08 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.8714, allocations: 4 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.8715, allocations: 4 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.8715, allocations: 11.92 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.8715, allocations: 4 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.8715, allocations: 83.34 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8715, allocations: 0 / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002826/0.8718, allocations: 43.92 kB / 1.279 GB, free: 14.53 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002506/0.8721, allocations: 143.6 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.8723, allocations: 59.86 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8723, allocations: 0 / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.8723, allocations: 35.92 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.8725, allocations: 0.6562 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.8729, allocations: 200.2 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.8733, allocations: 0.6846 MB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.8734, allocations: 19.86 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.8734, allocations: 11.44 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8734, allocations: 4 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.004399/0.8778, allocations: 1.43 MB / 1.282 GB, free: 11.9 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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: 8.945087942294776]