Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00183/0.00183, allocations: 81.58 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.00258/0.00258, allocations: 164.8 kB / 22.45 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.664/2.664, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.121e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001523/0.001544, allocations: 0.5995 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006812/0.002225, allocations: 314.8 kB / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.002245, allocations: 0 / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.002256, allocations: 0 / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.057e-05/0.002277, allocations: 0 / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.00272, allocations: 107.6 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.704e-05/0.002777, allocations: 19.92 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.002814, allocations: 4 kB / 0.952 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.002842, allocations: 7.984 kB / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.002889, allocations: 4 kB / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.002902, allocations: 0 / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.003301, allocations: 263.6 kB / 0.9523 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.003311, allocations: 0 / 0.9523 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.003326, allocations: 4 kB / 0.9523 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.003544, allocations: 127.6 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003546, allocations: 0 / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003547, allocations: 3.938 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.00355, allocations: 0 / 0.9524 GB, free: 10.07 MB / 0.8575 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.0003629/0.003913, allocations: 266.2 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.003946, allocations: 16.03 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.003993, allocations: 0.9375 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.0041, allocations: 105.8 kB / 0.9528 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.004111, allocations: 4.312 kB / 0.9528 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.004133, allocations: 384 / 0.9528 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.004252, allocations: 63.95 kB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.00426, allocations: 192 / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.004268, allocations: 384 / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004274, allocations: 4.375 kB / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.004294, allocations: 3.938 kB / 0.9529 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.004434, allocations: 109.3 kB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.004499, allocations: 22.59 kB / 0.953 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.004522, allocations: 12.91 kB / 0.953 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.005084, allocations: 75.92 kB / 0.9531 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.005119, allocations: 34.56 kB / 0.9531 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.00512, allocations: 0 / 0.9531 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004699/0.00559, allocations: 177.2 kB / 0.9533 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.005631, allocations: 59.39 kB / 0.9533 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.005708, allocations: 97.8 kB / 0.9534 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.005727, allocations: 25.7 kB / 0.9535 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.005766, allocations: 80.14 kB / 0.9535 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.005786, allocations: 12.3 kB / 0.9535 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.005827, allocations: 17.72 kB / 0.9536 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.005981, allocations: 318.8 kB / 0.9539 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.005999, allocations: 4 kB / 0.9539 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.006027, allocations: 17.66 kB / 0.9539 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.00608, allocations: 33.7 kB / 0.9539 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006081, allocations: 0 / 0.9539 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.006186, allocations: 57.53 kB / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.006197, allocations: 4 kB / 0.954 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006201, allocations: 4.062 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.006214, allocations: 4 kB / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.00627, allocations: 7.984 kB / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.006276, allocations: 3.938 kB / 0.954 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.006297, allocations: 4 kB / 0.954 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.006303, allocations: 0 / 0.954 GB, free: 8.238 MB / 0.8575 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 8.342e-05/0.006386, allocations: 109.8 kB / 0.9541 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.006409, allocations: 0 / 0.9541 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.006547, allocations: 69.3 kB / 0.9542 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006549, allocations: 0 / 0.9542 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.006552, allocations: 3.938 kB / 0.9542 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.006557, allocations: 3.938 kB / 0.9542 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.422e-05/0.006651, allocations: 101.3 kB / 0.9543 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006652, allocations: 0 / 0.9543 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.006705, allocations: 8 kB / 0.9543 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006706, allocations: 0 / 0.9543 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.006716, allocations: 3.984 kB / 0.9543 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006717, allocations: 0 / 0.9543 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006718, allocations: 0 / 0.9543 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.006866, allocations: 85 kB / 0.9544 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-06/0.006873, allocations: 3.953 kB / 0.9544 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.006884, allocations: 0 / 0.9544 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.006929, allocations: 8.031 kB / 0.9544 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.006949, allocations: 3.984 kB / 0.9544 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.006954, allocations: 0 / 0.9544 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.007005, allocations: 83.22 kB / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007005, allocations: 0 / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002189/0.007224, allocations: 23.94 kB / 0.9545 GB, free: 7.672 MB / 0.8575 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.0002068/0.007431, allocations: 131.3 kB / 0.9546 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.007508, allocations: 15.98 kB / 0.9546 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.007514, allocations: 0 / 0.9546 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-05/0.007533, allocations: 12.17 kB / 0.9546 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.007669, allocations: 3.938 kB / 0.9546 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.007902, allocations: 112.9 kB / 0.9547 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.865e-05/0.00796, allocations: 67.33 kB / 0.9548 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.007995, allocations: 8.109 kB / 0.9548 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.008014, allocations: 12.5 kB / 0.9548 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.008014, allocations: 0 / 0.9548 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of Templates: time 0.003496/0.01151, allocations: 0.9025 MB / 0.9557 GB, free: 6.375 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.59303130954504]