Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001124/0.001124, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002656, 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.00105/0.00105, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002338, 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.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.119, allocations: 53.65 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.471/2.471, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2489/2.72, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.219e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001169/0.001191, allocations: 0.6614 MB / 0.819 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004277/0.001618, allocations: 322.7 kB / 0.8193 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.001638, allocations: 0 / 0.8193 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.019e-06/0.001643, allocations: 0 / 0.8193 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.001648, allocations: 0 / 0.8193 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.001907, allocations: 91.56 kB / 0.8194 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.001968, allocations: 15.98 kB / 0.8194 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.002012, allocations: 4 kB / 0.8194 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.002066, allocations: 11.92 kB / 0.8194 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.002137, allocations: 3.984 kB / 0.8194 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.002153, allocations: 0 / 0.8194 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.002484, allocations: 283.6 kB / 0.8197 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.002495, allocations: 0 / 0.8197 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.002511, allocations: 4 kB / 0.8197 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.002682, allocations: 91.77 kB / 0.8198 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.886e-05/0.002701, allocations: 0 / 0.8198 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.253e-06/0.002703, allocations: 0 / 0.8198 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.002722, allocations: 4 kB / 0.8198 GB, free: 1.359 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000376/0.003098, allocations: 256.4 kB / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.003135, allocations: 8.031 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.433e-05/0.003229, allocations: 86.03 kB / 0.8201 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.003314, allocations: 109.7 kB / 0.8202 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.003325, allocations: 384 / 0.8202 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.003343, allocations: 4.375 kB / 0.8202 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.062e-05/0.003434, allocations: 59.95 kB / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.003442, allocations: 192 / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.003449, allocations: 384 / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.003454, allocations: 4.375 kB / 0.8203 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.003472, allocations: 3.938 kB / 0.8203 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.632e-05/0.003568, allocations: 57.05 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.003613, allocations: 26.55 kB / 0.8204 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.324e-05/0.003627, allocations: 8.922 kB / 0.8204 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.003948, allocations: 75.94 kB / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.003975, allocations: 38.55 kB / 0.8205 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.003976, allocations: 0 / 0.8205 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0004659/0.004442, allocations: 177.2 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.004471, allocations: 55.39 kB / 0.8207 GB, free: 252 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.004524, allocations: 99.03 kB / 0.8208 GB, free: 140 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.004533, allocations: 33.67 kB / 0.8209 GB, free: 100 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.004556, allocations: 80.14 kB / 0.8209 GB, free: 16 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.004579, allocations: 11.88 kB / 0.8209 GB, free: 4 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.004624, allocations: 21.78 kB / 0.821 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.00471, allocations: 318.8 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.004718, allocations: 0 / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.004737, allocations: 21.56 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.004768, allocations: 21.7 kB / 0.8213 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.00477, allocations: 4 kB / 0.8213 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.126e-05/0.004841, allocations: 49.62 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.004856, allocations: 8 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.00486, allocations: 0 / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.00487, allocations: 0 / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.816e-05/0.004919, allocations: 8 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.004922, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.004933, allocations: 144 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.00494, allocations: 3.938 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.884e-05/0.004999, allocations: 113.8 kB / 0.8215 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.005014, allocations: 12.03 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.005097, allocations: 49.31 kB / 0.8215 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.005099, allocations: 4 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.005101, allocations: 0 / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.005104, allocations: 0 / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.935e-05/0.005164, allocations: 69.83 kB / 0.8216 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005165, allocations: 0 / 0.8216 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.005199, allocations: 4 kB / 0.8216 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.005206, allocations: 7.953 kB / 0.8216 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005208, allocations: 4 kB / 0.8216 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-06/0.005212, allocations: 0 / 0.8216 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.005212, allocations: 0 / 0.8216 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005213, allocations: 0 / 0.8216 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.491e-05/0.005308, allocations: 80.97 kB / 0.8217 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.005318, allocations: 4 kB / 0.8217 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.005334, allocations: 0 / 0.8217 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.005346, allocations: 0 / 0.8217 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.005348, allocations: 0 / 0.8217 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.021e-05/0.005358, allocations: 12.8 kB / 0.8217 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005358, allocations: 128 / 0.8217 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001204/0.005479, allocations: 31.92 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001476/0.005626, allocations: 108.3 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.161e-05/0.005688, allocations: 20.78 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.005693, allocations: 4 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.948e-06/0.005703, allocations: 8.859 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.93e-05/0.005772, allocations: 7.938 kB / 0.8219 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/0.00596, allocations: 108.5 kB / 0.822 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.996e-05/0.00599, allocations: 59.34 kB / 0.8221 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.006015, allocations: 12.11 kB / 0.8221 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.006054, allocations: 51.38 kB / 0.8221 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.006054, allocations: 0 / 0.8221 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of Templates: time 0.002854/0.008908, allocations: 1.044 MB / 0.8231 GB, free: 13.62 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.338819072581828]