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.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.001771/0.001771, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002166/0.002166, allocations: 165.9 kB / 22.45 MB, free: 5.375 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.436/1.436, allocations: 177.2 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.745/2.745, allocations: 359 MB / 0.6037 GB, free: 14.95 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.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 1.733e-06/1.733e-06, allocations: 0 / 0.951 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.504e-05, allocations: 2.281 kB / 0.951 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001792/0.001817, allocations: 0.6142 MB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.002555, allocations: 318.8 kB / 0.9519 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.00258, allocations: 4 kB / 0.9519 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.002595, allocations: 3.938 kB / 0.9519 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.711e-05/0.002632, allocations: 0 / 0.9519 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.003157, allocations: 126.5 kB / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.866e-05/0.003215, allocations: 19.92 kB / 0.9521 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.003255, allocations: 11.92 kB / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.00331, allocations: 15.98 kB / 0.9521 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.003362, allocations: 3.984 kB / 0.9521 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.003376, allocations: 8 kB / 0.9521 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.003802, allocations: 259.6 kB / 0.9524 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.003821, allocations: 7.922 kB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.00385, allocations: 4 kB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.0041, allocations: 143.5 kB / 0.9525 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004102, allocations: 3.938 kB / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004103, allocations: 0 / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.004107, allocations: 0 / 0.9525 GB, free: 9.945 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004752/0.004582, allocations: 286.1 kB / 0.9528 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.004622, allocations: 12.03 kB / 0.9528 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.004687, allocations: 4.938 kB / 0.9528 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.004838, allocations: 121.7 kB / 0.9529 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.004852, allocations: 384 / 0.9529 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.004876, allocations: 4.375 kB / 0.9529 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.005047, allocations: 101.7 kB / 0.953 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.00506, allocations: 192 / 0.953 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005071, allocations: 384 / 0.953 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.005075, allocations: 384 / 0.953 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.103e-05/0.005136, allocations: 27.86 kB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.005309, allocations: 109.3 kB / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.005429, allocations: 54.56 kB / 0.9532 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.005479, allocations: 32.84 kB / 0.9532 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/0.006054, allocations: 75.92 kB / 0.9533 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.00609, allocations: 30.56 kB / 0.9533 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.006091, allocations: 4 kB / 0.9533 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001377/0.007468, allocations: 463.4 kB / 0.9538 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.007524, allocations: 55.41 kB / 0.9538 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.007612, allocations: 101.8 kB / 0.9539 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.007637, allocations: 29.7 kB / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.00768, allocations: 80.14 kB / 0.954 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.007732, allocations: 43.62 kB / 0.9541 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.00779, allocations: 33.72 kB / 0.9541 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.00795, allocations: 318.8 kB / 0.9544 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.007993, allocations: 16 kB / 0.9544 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.008036, allocations: 19.98 kB / 0.9545 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.008138, allocations: 52.86 kB / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.008139, allocations: 4 kB / 0.9545 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001917/0.00833, allocations: 101.2 kB / 0.9546 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.008345, allocations: 7.938 kB / 0.9546 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.00835, allocations: 0 / 0.9546 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.008369, allocations: 12.06 kB / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.00848, allocations: 19.98 kB / 0.9546 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.008486, allocations: 4 kB / 0.9547 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.008511, allocations: 0 / 0.9547 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.008524, allocations: 8 kB / 0.9547 GB, free: 7.523 MB / 0.8575 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.958e-05/0.008623, allocations: 113.8 kB / 0.9548 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.008657, allocations: 11.94 kB / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.008922, allocations: 105.8 kB / 0.9549 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.008928, allocations: 7.938 kB / 0.9549 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.008932, allocations: 0 / 0.9549 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008936, allocations: 0 / 0.9549 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.009351, allocations: 286.2 kB / 0.9552 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009353, allocations: 4 kB / 0.9552 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.009476, allocations: 27.92 kB / 0.9552 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.009482, allocations: 3.938 kB / 0.9552 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.009495, allocations: 4 kB / 0.9552 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.009497, allocations: 0 / 0.9552 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009498, allocations: 0 / 0.9552 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.009804, allocations: 219.4 kB / 0.9554 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.009836, allocations: 11.97 kB / 0.9554 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.009854, allocations: 3.938 kB / 0.9554 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.009939, allocations: 8 kB / 0.9554 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.009963, allocations: 12.05 kB / 0.9554 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.00997, allocations: 3.938 kB / 0.9554 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.65e-05/0.01002, allocations: 79.28 kB / 0.9555 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01002, allocations: 0 / 0.9555 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003002/0.01032, allocations: 47.86 kB / 0.9556 GB, free: 6.523 MB / 0.8575 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.0002754/0.01059, allocations: 143.2 kB / 0.9557 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.01075, allocations: 55.92 kB / 0.9558 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.01076, allocations: 4 kB / 0.9558 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.207e-05/0.01081, allocations: 27.92 kB / 0.9558 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.01103, allocations: 12.66 kB / 0.9558 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.01142, allocations: 176.6 kB / 0.956 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.279e-05/0.01149, allocations: 71.34 kB / 0.956 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.099e-05/0.01154, allocations: 16.22 kB / 0.9561 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.01157, allocations: 16.44 kB / 0.9561 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.01157, allocations: 0 / 0.9561 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of Templates: time 0.004593/0.01617, allocations: 1.396 MB / 0.9574 GB, free: 4.582 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.720154907554388]