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.00108/0.00108, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001137/0.001137, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9663/0.9663, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.413/2.413, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.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.413e-06/1.413e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.507e-05, allocations: 6.969 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0009705/0.0009855, allocations: 0.6149 MB / 0.8392 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004249/0.00141, allocations: 318.8 kB / 0.8395 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.001426, allocations: 0 / 0.8395 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.001437, allocations: 8 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.441e-05/0.001451, allocations: 0 / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.001756, allocations: 115.5 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.695e-05/0.001793, allocations: 11.98 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.824e-05/0.001821, allocations: 0 / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.001846, allocations: 8 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.978e-05/0.001886, allocations: 3.984 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.001896, allocations: 4 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.002129, allocations: 255.6 kB / 0.8399 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.002144, allocations: 7.938 kB / 0.8399 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.049e-05/0.002154, allocations: 4 kB / 0.8399 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.002287, allocations: 119.7 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.002289, allocations: 0 / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.1e-07/0.002289, allocations: 0 / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.002292, allocations: 0 / 0.8401 GB, free: 12.64 MB / 0.8073 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.0002127/0.002504, allocations: 252.8 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.502e-05/0.002529, allocations: 8.031 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.002584, allocations: 0.9375 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.215e-05/0.002647, allocations: 113.8 kB / 0.8404 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.002656, allocations: 8.297 kB / 0.8404 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.002671, allocations: 4.375 kB / 0.8404 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.044e-05/0.002732, allocations: 59.97 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.002738, allocations: 192 / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.002743, allocations: 384 / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.002748, allocations: 384 / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-06/0.002757, allocations: 3.938 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.844e-05/0.002825, allocations: 61.03 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.35e-05/0.002859, allocations: 30.53 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.036e-05/0.002869, allocations: 8.922 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.003128, allocations: 75.88 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.003146, allocations: 30.56 kB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.003146, allocations: 4 kB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000359/0.003505, allocations: 169.3 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.003543, allocations: 51.41 kB / 0.8409 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.003598, allocations: 106.7 kB / 0.841 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.003609, allocations: 25.7 kB / 0.841 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.003631, allocations: 84.14 kB / 0.8411 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.003651, allocations: 7.906 kB / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.003675, allocations: 14.06 kB / 0.8411 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.003754, allocations: 326.8 kB / 0.8414 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.003762, allocations: 3.984 kB / 0.8414 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.003779, allocations: 17.72 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.003808, allocations: 25.66 kB / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003809, allocations: 0 / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.079e-05/0.00387, allocations: 45.62 kB / 0.8415 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.003882, allocations: 10.03 kB / 0.8415 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.003885, allocations: 0 / 0.8415 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.003898, allocations: 4.062 kB / 0.8415 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.544e-05/0.003934, allocations: 7.984 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.003938, allocations: 4 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.003947, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.003952, allocations: 3.938 kB / 0.8416 GB, free: 10.91 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 4.929e-05/0.004001, allocations: 113.8 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.004014, allocations: 0 / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.004087, allocations: 57.28 kB / 0.8417 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.004088, allocations: 4 kB / 0.8417 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.00409, allocations: 0 / 0.8417 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.004094, allocations: 4 kB / 0.8417 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.094e-05/0.004145, allocations: 69.83 kB / 0.8418 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.004146, allocations: 0 / 0.8418 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.004173, allocations: 8 kB / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004174, allocations: 0 / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.004178, allocations: 3.984 kB / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.004179, allocations: 0 / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.00418, allocations: 3.938 kB / 0.8418 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.184e-05/0.004251, allocations: 77.17 kB / 0.8419 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-06/0.004256, allocations: 7.984 kB / 0.8419 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-06/0.004262, allocations: 0 / 0.8419 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.004275, allocations: 0 / 0.8419 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.004287, allocations: 7.984 kB / 0.8419 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.00429, allocations: 4 kB / 0.8419 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.932e-06/0.004296, allocations: 4.859 kB / 0.8419 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.004296, allocations: 0 / 0.8419 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001126/0.004409, allocations: 23.94 kB / 0.8419 GB, free: 10.47 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.0001237/0.004533, allocations: 112.3 kB / 0.842 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.444e-05/0.004577, allocations: 16.95 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.00458, allocations: 4 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.004592, allocations: 20.78 kB / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.728e-05/0.004639, allocations: 3.938 kB / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001527/0.004792, allocations: 108.1 kB / 0.8422 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.92e-05/0.004821, allocations: 55.36 kB / 0.8422 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.002e-05/0.004841, allocations: 0 / 0.8422 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.004877, allocations: 63.48 kB / 0.8423 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 3.01e-07/0.004878, allocations: 0 / 0.8423 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.002333/0.007211, allocations: 1.034 MB / 0.8433 GB, free: 9.02 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.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.316025481093675]