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.001691/0.001691, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002384/0.002384, allocations: 212.8 kB / 22.24 MB, free: 5.242 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.368/3.368, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.02 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3353, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001735/0.337, allocations: 0.6017 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00071/0.3377, allocations: 311.3 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.3377, allocations: 4 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.3377, allocations: 3.938 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 1.549e-05/0.3378, allocations: 0 / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.3382, allocations: 111.6 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.3383, allocations: 11.98 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.3383, allocations: 4 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.3383, allocations: 4 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.3384, allocations: 3.984 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3384, allocations: 4 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.3388, allocations: 259.6 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.3388, allocations: 7.938 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.3388, allocations: 7.938 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.339, allocations: 99.7 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.339, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.339, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.339, allocations: 4 kB / 1.365 GB, free: 12.11 MB / 1.061 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.0003617/0.3394, allocations: 266.2 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3394, allocations: 8.031 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.3395, allocations: 4.938 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3396, allocations: 110.4 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3396, allocations: 4.375 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3396, allocations: 4.375 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.3397, allocations: 59.95 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3397, allocations: 192 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3397, allocations: 7.938 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3398, allocations: 4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.123e-05/0.3398, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.3399, allocations: 97.33 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.956e-05/0.34, allocations: 30.53 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.34, allocations: 4.859 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005476/0.3405, allocations: 75.98 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3406, allocations: 34.56 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3406, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004682/0.341, allocations: 181.2 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.3411, allocations: 55.39 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.3412, allocations: 97.86 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3412, allocations: 26.05 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.3412, allocations: 84.14 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3413, allocations: 11.91 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3413, allocations: 17.7 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3414, allocations: 318.8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.3414, allocations: 8 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.3415, allocations: 17.66 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.3415, allocations: 25.7 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3415, allocations: 4 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001078/0.3416, allocations: 57.64 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3416, allocations: 5.562 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3416, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3417, allocations: 11.86 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.3417, allocations: 8 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3417, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.3417, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3418, allocations: 7.938 kB / 1.367 GB, free: 10.27 MB / 1.061 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 7.055e-05/0.3418, allocations: 106.9 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3418, allocations: 4 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.342, allocations: 69.3 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.342, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.342, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.342, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.835e-05/0.3421, allocations: 97.33 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3421, allocations: 0 / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.3421, allocations: 7.984 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3421, allocations: 0 / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3422, allocations: 8 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.3422, allocations: 7.938 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3422, allocations: 0 / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.3423, allocations: 77.02 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.3423, allocations: 4.031 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3423, allocations: 8 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.3424, allocations: 3.938 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.3424, allocations: 7.984 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.3424, allocations: 0 / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.3424, allocations: 75.28 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 0 / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002315/0.3427, allocations: 28.09 kB / 1.367 GB, free: 9.703 MB / 1.061 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.0002084/0.3429, allocations: 127.2 kB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.343, allocations: 15.98 kB / 1.367 GB, free: 9.551 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.343, allocations: 0 / 1.367 GB, free: 9.551 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.299e-05/0.343, allocations: 11.94 kB / 1.367 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.3431, allocations: 4 kB / 1.367 GB, free: 9.535 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.3434, allocations: 117.4 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.268e-05/0.3434, allocations: 63.28 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.3435, allocations: 12.39 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.3435, allocations: 11.44 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3435, allocations: 0 / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of Templates: time 0.003694/0.3472, allocations: 0.8735 MB / 1.369 GB, free: 8.434 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.890706287696958]