Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001956/0.001956, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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: 161.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.463/1.463, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.854/2.854, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.701e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003956/0.003983, allocations: 1.464 MB / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.005084, allocations: 352.4 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.005118, allocations: 0 / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.005149, allocations: 0 / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.795e-05/0.005217, allocations: 11.88 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.005808, allocations: 121.2 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.005902, allocations: 23.92 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.00599, allocations: 9.359 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.006062, allocations: 15.94 kB / 0.8128 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.006103, allocations: 3.984 kB / 0.8128 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.006118, allocations: 4 kB / 0.8128 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006743/0.006793, allocations: 261.5 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.006814, allocations: 4 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.006845, allocations: 7.984 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.007198, allocations: 135.6 kB / 0.8132 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.0072, allocations: 0 / 0.8132 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007201, allocations: 1.344 kB / 0.8132 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.007205, allocations: 0 / 0.8132 GB, free: 15.73 MB / 0.7761 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.0006814/0.007886, allocations: 290 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 9.502e-05/0.007981, allocations: 13.62 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.008081, allocations: 4.922 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.00824, allocations: 113.7 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.008254, allocations: 384 / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.00827, allocations: 6.594 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.008525, allocations: 50.23 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.008535, allocations: 192 / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.008558, allocations: 4.359 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.008564, allocations: 384 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.008859, allocations: 37.12 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.009286, allocations: 196.6 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.009497, allocations: 36.75 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.009665, allocations: 28.89 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008251/0.01049, allocations: 78.89 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.01054, allocations: 34.56 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.01054, allocations: 1.375 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0006242/0.01117, allocations: 91.11 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.01122, allocations: 51.41 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01136, allocations: 105.8 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.01139, allocations: 25.7 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.01147, allocations: 93.06 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.0115, allocations: 7.938 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.01156, allocations: 14.56 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002304/0.01179, allocations: 318.8 kB / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.01193, allocations: 13.58 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01206, allocations: 19.98 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.01232, allocations: 41.75 kB / 0.8148 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01232, allocations: 2.125 kB / 0.8148 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003754/0.0127, allocations: 65.61 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01272, allocations: 4 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.01273, allocations: 6.156 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.01275, allocations: 7.984 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.01286, allocations: 4 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.01287, allocations: 0 / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.01295, allocations: 7.984 kB / 0.8149 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.01296, allocations: 4.5 kB / 0.8149 GB, free: 13.84 MB / 0.7761 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 0.0001236/0.01308, allocations: 110.4 kB / 0.815 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.01316, allocations: 5.938 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.01354, allocations: 77.17 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.01355, allocations: 11.92 kB / 0.8151 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01355, allocations: 1.062 kB / 0.8151 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01356, allocations: 0 / 0.8151 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.01379, allocations: 101.6 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.0138, allocations: 4.625 kB / 0.8152 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.0139, allocations: 12.64 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.0139, allocations: 0 / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.01391, allocations: 3.406 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.01391, allocations: 7.875 kB / 0.8152 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.01392, allocations: 3.984 kB / 0.8152 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.01439, allocations: 163.5 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.0144, allocations: 3.938 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.01443, allocations: 7.984 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.01457, allocations: 10.16 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.01462, allocations: 0 / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.01463, allocations: 3.984 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.562e-05/0.01471, allocations: 87.22 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01471, allocations: 0 / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004527/0.01516, allocations: 12 kB / 0.8155 GB, free: 13.17 MB / 0.7761 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.0002624/0.01543, allocations: 116.1 kB / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.01575, allocations: 33.09 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01575, allocations: 1.125 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.0159, allocations: 23.97 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.01634, allocations: 7.5 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.01675, allocations: 120.5 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.847e-05/0.01685, allocations: 68.28 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.01688, allocations: 1.562 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.01692, allocations: 12.5 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.01692, allocations: 0 / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.004711/0.02163, allocations: 0.7567 MB / 0.8166 GB, free: 12.01 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.7574469649698585]