Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 193.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.89 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8457/0.8478, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001779/0.8495, allocations: 0.586 MB / 1.275 GB, free: 4 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007254/0.8503, allocations: 334.8 kB / 1.275 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.8503, allocations: 3.938 kB / 1.275 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.8503, allocations: 0 / 1.275 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.8503, allocations: 4 kB / 1.275 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.8508, allocations: 112.8 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.674e-05/0.8508, allocations: 7.938 kB / 1.275 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.8508, allocations: 0 / 1.275 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.988e-05/0.8509, allocations: 0 / 1.275 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.544e-05/0.8509, allocations: 0 / 1.275 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.8509, allocations: 0 / 1.275 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.8513, allocations: 279.6 kB / 1.275 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.8514, allocations: 4 kB / 1.275 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.8514, allocations: 0 / 1.275 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.8516, allocations: 90.45 kB / 1.275 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8516, allocations: 0 / 1.275 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8516, allocations: 0 / 1.275 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.8516, allocations: 4 kB / 1.275 GB, free: 3.18 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004007/0.852, allocations: 339.2 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.852, allocations: 8.031 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.8521, allocations: 0.9375 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.8522, allocations: 164.4 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.8522, allocations: 4.375 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.8522, allocations: 4.375 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.942e-05/0.8523, allocations: 30.27 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8523, allocations: 192 / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.8523, allocations: 3.938 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.8523, allocations: 3.984 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.8524, allocations: 11.92 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.8525, allocations: 141.7 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.114e-05/0.8526, allocations: 18.58 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.8526, allocations: 12.95 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/0.8531, allocations: 421.5 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.8532, allocations: 30.56 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.8532, allocations: 4 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001737/0.8534, allocations: 45.56 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.8534, allocations: 51.41 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.678e-05/0.8534, allocations: 89.86 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.8535, allocations: 25.7 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.8535, allocations: 84.14 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.8535, allocations: 0 / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.8536, allocations: 9.719 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8537, allocations: 319 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.8537, allocations: 4 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.8537, allocations: 3.938 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/0.8537, allocations: 8.859 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.8537, allocations: 3.984 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.791e-05/0.8538, allocations: 33.64 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8538, allocations: 4 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.8538, allocations: 4 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.8538, allocations: 11.97 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.696e-05/0.8539, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.8539, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-06/0.8539, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.8539, allocations: 4 kB / 1.277 GB, free: 1 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.472e-05/0.854, allocations: 110.4 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.854, allocations: 3.984 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.8541, allocations: 44.7 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.8541, allocations: 0 / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8541, allocations: 4 kB / 1.277 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.8541, allocations: 0 / 1.277 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.8542, allocations: 145.7 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8542, allocations: 0 / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-05/0.8542, allocations: 0 / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.8542, allocations: 4 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.8542, allocations: 3.938 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.8542, allocations: 0 / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8542, allocations: 0 / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.62e-05/0.8543, allocations: 65.16 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.8544, allocations: 81.11 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.8544, allocations: 3.938 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.8544, allocations: 0 / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.8544, allocations: 3.938 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.8544, allocations: 0 / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.8545, allocations: 75.28 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8545, allocations: 4.031 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001877/0.8547, allocations: 15.94 kB / 1.278 GB, free: 356 kB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.0001956/0.8549, allocations: 119.2 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.8549, allocations: 4 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8549, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-06/0.8549, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.8551, allocations: 2.031 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.8553, allocations: 113 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.8556, allocations: 0.669 MB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.466e-05/0.8556, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.8556, allocations: 19.25 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.8556, allocations: 4 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of Templates: time 0.002798/0.8584, allocations: 461.8 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 8.943349740933627]