Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.0007243/0.0007243, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009947/0.001719, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006907/0.0006907, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008864/0.001577, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9974/0.9974, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08854/1.086, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.361/2.361, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2471/2.608, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.181e-05, allocations: 6.25 kB / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001195/0.001217, allocations: 0.6463 MB / 0.8196 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003935/0.001611, allocations: 306.8 kB / 0.8199 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.001625, allocations: 0 / 0.8199 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.058e-06/0.001629, allocations: 0 / 0.8199 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.02e-07/0.00163, allocations: 4 kB / 0.8199 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.001883, allocations: 83.64 kB / 0.82 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.001935, allocations: 3.938 kB / 0.82 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.001982, allocations: 4 kB / 0.82 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.048e-05/0.002022, allocations: 7.922 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.002061, allocations: 0 / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.002074, allocations: 0 / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.002423, allocations: 279.6 kB / 0.8203 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.002439, allocations: 4 kB / 0.8203 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.2e-05/0.002451, allocations: 0 / 0.8203 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.002614, allocations: 83.8 kB / 0.8204 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.126e-05/0.002635, allocations: 0 / 0.8204 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.11e-07/0.002636, allocations: 0 / 0.8204 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.002651, allocations: 0 / 0.8204 GB, free: 1.008 MB / 0.7917 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.0003194/0.00297, allocations: 256.4 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.003007, allocations: 11.97 kB / 0.8206 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.003103, allocations: 82.05 kB / 0.8207 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.871e-05/0.003172, allocations: 101.8 kB / 0.8208 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.003182, allocations: 4.375 kB / 0.8208 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.003192, allocations: 384 / 0.8208 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.003283, allocations: 38.19 kB / 0.8208 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.00329, allocations: 192 / 0.8208 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.003299, allocations: 4.359 kB / 0.8208 GB, free: 456 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.003304, allocations: 384 / 0.8208 GB, free: 456 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.232e-05/0.003317, allocations: 3.938 kB / 0.8208 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.028e-05/0.003397, allocations: 57.05 kB / 0.8209 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.081e-05/0.003438, allocations: 22.61 kB / 0.8209 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.243e-05/0.00345, allocations: 4.859 kB / 0.8209 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.003728, allocations: 48.02 kB / 0.821 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.003755, allocations: 42.5 kB / 0.821 GB, free: 240 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.003756, allocations: 0 / 0.821 GB, free: 240 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.003872, allocations: 33.69 kB / 0.821 GB, free: 200 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.0039, allocations: 55.41 kB / 0.8211 GB, free: 132 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.094e-05/0.003931, allocations: 89.86 kB / 0.8212 GB, free: 32 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.00394, allocations: 25.83 kB / 0.8212 GB, free: 0 / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.003958, allocations: 84.19 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.003989, allocations: 0 / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.004011, allocations: 13.72 kB / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.004087, allocations: 314.8 kB / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-06/0.004093, allocations: 0 / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.004098, allocations: 0 / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.004123, allocations: 12.8 kB / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.004126, allocations: 3.984 kB / 0.8216 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.378e-05/0.00417, allocations: 29.7 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.004183, allocations: 12.09 kB / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.004187, allocations: 0 / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.004202, allocations: 0 / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.004243, allocations: 0 / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.004246, allocations: 0 / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-06/0.004254, allocations: 7.938 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.004259, allocations: 0 / 0.8217 GB, free: 15.5 MB / 0.8073 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 5.474e-05/0.004314, allocations: 113.8 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.004325, allocations: 3.984 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.004385, allocations: 40.64 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004386, allocations: 0 / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.004388, allocations: 4 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.004392, allocations: 0 / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.977e-05/0.004442, allocations: 61.84 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.004443, allocations: 3.984 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.004448, allocations: 4 kB / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-06/0.004451, allocations: 0 / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.004452, allocations: 0 / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.004456, allocations: 0 / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.004456, allocations: 0 / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.004457, allocations: 4.031 kB / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.891e-05/0.004516, allocations: 68.98 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.004524, allocations: 0 / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-06/0.004527, allocations: 0 / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.004541, allocations: 4 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.004542, allocations: 0 / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.285e-06/0.004551, allocations: 8.859 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.004551, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001014/0.004652, allocations: 11.94 kB / 0.822 GB, free: 15.12 MB / 0.8073 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.0001432/0.004795, allocations: 102.8 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.878e-05/0.004854, allocations: 8.859 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.004858, allocations: 0 / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-06/0.004868, allocations: 8.797 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.564e-05/0.004924, allocations: 13.17 kB / 0.8221 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001643/0.005088, allocations: 86.17 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.061e-05/0.005119, allocations: 51.36 kB / 0.8222 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.687e-05/0.005135, allocations: 4 kB / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.005167, allocations: 59.55 kB / 0.8223 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of SimCode: time 4.9e-07/0.005167, allocations: 0 / 0.8223 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.001934/0.007101, allocations: 489.2 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0921601969748735]