Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.000825/0.000825, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.00193, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001141/0.001141, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002637, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.122/1.122, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09673/1.219, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.458/2.458, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2419/2.7, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8184 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.196e-05, allocations: 4.703 kB / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002388/0.00241, allocations: 0.6733 MB / 0.819 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005718/0.002981, allocations: 330.7 kB / 0.8193 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.003004, allocations: 3.938 kB / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.582e-06/0.003011, allocations: 0 / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.336e-05/0.003024, allocations: 0 / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.003387, allocations: 103.5 kB / 0.8194 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.139e-05/0.003458, allocations: 23.91 kB / 0.8195 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.003498, allocations: 4 kB / 0.8195 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.003577, allocations: 15.98 kB / 0.8195 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.003638, allocations: 15.91 kB / 0.8195 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.003655, allocations: 0 / 0.8195 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004722/0.004127, allocations: 283.6 kB / 0.8198 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.004143, allocations: 4 kB / 0.8198 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.00416, allocations: 8 kB / 0.8198 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.004384, allocations: 103.7 kB / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.0044, allocations: 0 / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004401, allocations: 0 / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.004417, allocations: 0 / 0.8199 GB, free: 1.293 MB / 0.7917 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.0004366/0.004854, allocations: 272.4 kB / 0.8201 GB, free: 1 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.004891, allocations: 12.62 kB / 0.8202 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.004992, allocations: 89.97 kB / 0.8202 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/0.005088, allocations: 105.8 kB / 0.8203 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.005103, allocations: 8.375 kB / 0.8203 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.005125, allocations: 4.375 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.00524, allocations: 101.6 kB / 0.8204 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005249, allocations: 192 / 0.8204 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005257, allocations: 384 / 0.8204 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.005262, allocations: 384 / 0.8204 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.0053, allocations: 11.94 kB / 0.8205 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.005413, allocations: 72.97 kB / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.539e-05/0.005508, allocations: 58.42 kB / 0.8206 GB, free: 472 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.005536, allocations: 21.08 kB / 0.8206 GB, free: 448 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/0.00592, allocations: 79.94 kB / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.00595, allocations: 38.56 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.005951, allocations: 0 / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of matching and sorting (n=11): time 0.001328/0.007279, allocations: 447.5 kB / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.007314, allocations: 51.41 kB / 0.8212 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.007388, allocations: 106.6 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.007403, allocations: 29.7 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.007435, allocations: 88.12 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.007481, allocations: 43.62 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.007526, allocations: 25.7 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.00763, allocations: 322.8 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.007652, allocations: 8 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.007675, allocations: 14.73 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.179e-05/0.007737, allocations: 32.84 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.007738, allocations: 0 / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001231/0.007861, allocations: 69.61 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.00788, allocations: 10.34 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.007886, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.007896, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.008009, allocations: 31.98 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.008015, allocations: 3.938 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.008037, allocations: 4 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.008044, allocations: 0 / 0.8219 GB, free: 14.94 MB / 0.8073 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 7.757e-05/0.008122, allocations: 121.8 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.008152, allocations: 4 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.008287, allocations: 77.72 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.008292, allocations: 4 kB / 0.8221 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.008294, allocations: 0 / 0.8221 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008298, allocations: 3.938 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.008583, allocations: 242.7 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008585, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.008687, allocations: 23.98 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.008709, allocations: 4 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.008712, allocations: 0 / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.008722, allocations: 7.938 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.008724, allocations: 0 / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008726, allocations: 0 / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.008949, allocations: 186.5 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.008963, allocations: 7.984 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.00903, allocations: 4.031 kB / 0.8226 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.009054, allocations: 15.92 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.009061, allocations: 0 / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.805e-05/0.009079, allocations: 12.84 kB / 0.8226 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.009079, allocations: 0 / 0.8226 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002803/0.009359, allocations: 39.94 kB / 0.8227 GB, free: 14.14 MB / 0.8073 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.0002623/0.009621, allocations: 132.2 kB / 0.8228 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.009743, allocations: 48.77 kB / 0.8228 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.009753, allocations: 0 / 0.8228 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.0098, allocations: 41.16 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.009986, allocations: 8 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.01041, allocations: 164.4 kB / 0.823 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.01047, allocations: 63.34 kB / 0.8231 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.394e-05/0.01053, allocations: 8 kB / 0.8231 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.01061, allocations: 63.36 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of SimCode: time 1.272e-06/0.01062, allocations: 0 / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.004606/0.01522, allocations: 1.637 MB / 0.8248 GB, free: 11.94 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.442591853439808]