Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001733/0.001733, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002167/0.002167, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.8 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [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.002124/0.002124, allocations: 73 kB / 1.119 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3327, allocations: 169.9 MB / 1.285 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00296/0.3357, allocations: 1.478 MB / 1.286 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008284/0.3365, allocations: 386.7 kB / 1.286 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.3365, allocations: 0 / 1.286 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.3365, allocations: 0 / 1.286 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.3366, allocations: 7.938 kB / 1.286 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.3371, allocations: 122.9 kB / 1.287 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.541e-05/0.3371, allocations: 27.91 kB / 1.287 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.3372, allocations: 7.984 kB / 1.287 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.021e-05/0.3373, allocations: 11.94 kB / 1.287 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.3373, allocations: 15.92 kB / 1.287 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3373, allocations: 0 / 1.287 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.3378, allocations: 275.7 kB / 1.287 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.3378, allocations: 4 kB / 1.287 GB, free: 1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.3378, allocations: 11.92 kB / 1.287 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.338, allocations: 107.6 kB / 1.287 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.338, allocations: 4 kB / 1.287 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3381, allocations: 4 kB / 1.287 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3381, allocations: 0 / 1.287 GB, free: 0.875 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004724/0.3385, allocations: 294 kB / 1.287 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3386, allocations: 11.97 kB / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.3386, allocations: 12.83 kB / 1.287 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.3387, allocations: 102.5 kB / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3387, allocations: 384 / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.3387, allocations: 8.375 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3389, allocations: 50.23 kB / 1.287 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3389, allocations: 192 / 1.287 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3389, allocations: 3.938 kB / 1.287 GB, free: 348 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3389, allocations: 0 / 1.287 GB, free: 348 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.3391, allocations: 39.89 kB / 1.287 GB, free: 308 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.3394, allocations: 220.1 kB / 1.288 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.3396, allocations: 42.48 kB / 1.288 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.3397, allocations: 20.91 kB / 1.288 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.3402, allocations: 75.92 kB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3403, allocations: 38.48 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3403, allocations: 0 / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000375/0.3406, allocations: 85.73 kB / 1.288 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3407, allocations: 55.41 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.3408, allocations: 109.8 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3408, allocations: 25.7 kB / 1.288 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.3408, allocations: 84.14 kB / 1.288 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.3409, allocations: 11.88 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.3409, allocations: 13.72 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.341, allocations: 314.8 kB / 1.289 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.3411, allocations: 19.98 kB / 1.289 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.3412, allocations: 19.97 kB / 1.289 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.3413, allocations: 40.77 kB / 1.289 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3413, allocations: 0 / 1.289 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002102/0.3415, allocations: 77.66 kB / 1.289 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3416, allocations: 4 kB / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3416, allocations: 0 / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3416, allocations: 0 / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.3417, allocations: 11.98 kB / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3417, allocations: 0 / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.3417, allocations: 7.938 kB / 1.289 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.3417, allocations: 0 / 1.289 GB, free: 14.92 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.352e-05/0.3418, allocations: 117.8 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.3418, allocations: 3.984 kB / 1.289 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.3421, allocations: 85.16 kB / 1.289 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3421, allocations: 0 / 1.289 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3421, allocations: 0 / 1.289 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3421, allocations: 0 / 1.289 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3423, allocations: 132.7 kB / 1.289 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3423, allocations: 7.922 kB / 1.289 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.3423, allocations: 8.031 kB / 1.289 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3423, allocations: 4 kB / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.3423, allocations: 0 / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3423, allocations: 0 / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3423, allocations: 0 / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3426, allocations: 168.8 kB / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.3426, allocations: 4.031 kB / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3426, allocations: 7.984 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.3427, allocations: 8.25 kB / 1.289 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3427, allocations: 3.984 kB / 1.289 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3427, allocations: 4 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.3428, allocations: 79.28 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3428, allocations: 0 / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000241/0.343, allocations: 16 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001856/0.3432, allocations: 119.2 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3434, allocations: 31.97 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3434, allocations: 4 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/0.3435, allocations: 23.91 kB / 1.29 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3438, allocations: 7.938 kB / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.3441, allocations: 139.3 kB / 1.29 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3444, allocations: 0.6807 MB / 1.29 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.3445, allocations: 7.438 kB / 1.29 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3445, allocations: 0 / 1.29 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.002392/0.3469, allocations: 0.7066 MB / 1.291 GB, free: 12.44 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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: 11.177873815991916]