Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002459/0.002459, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002739/0.002739, allocations: 161.7 kB / 23.55 MB, free: 0.8711 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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.617 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 3.01/3.01, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.837e-05, allocations: 7.5 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001661/0.001689, allocations: 0.6015 MB / 0.8115 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007221/0.002411, allocations: 316.1 kB / 0.8118 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.002432, allocations: 1.031 kB / 0.8118 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.002448, allocations: 3.938 kB / 0.8118 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.356e-05/0.002472, allocations: 0.7812 kB / 0.8118 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.002918, allocations: 125 kB / 0.8119 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.447e-05/0.002963, allocations: 7.984 kB / 0.8119 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.002994, allocations: 4 kB / 0.8119 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.003034, allocations: 5.531 kB / 0.8119 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.003088, allocations: 7.984 kB / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.003101, allocations: 0 / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.00352, allocations: 255.6 kB / 0.8122 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.003539, allocations: 5.531 kB / 0.8122 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.00356, allocations: 8 kB / 0.8122 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.003802, allocations: 127.5 kB / 0.8123 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.003806, allocations: 4 kB / 0.8123 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003807, allocations: 1.656 kB / 0.8123 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.003813, allocations: 0 / 0.8123 GB, free: 0.6172 MB / 0.7605 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.0004391/0.004252, allocations: 360.2 kB / 0.8126 GB, free: 232 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.004285, allocations: 8.031 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.004362, allocations: 9.594 kB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.004476, allocations: 112.6 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.004487, allocations: 1.312 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.004505, allocations: 4.328 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.004615, allocations: 61.11 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004623, allocations: 192 / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.004631, allocations: 384 / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.004635, allocations: 5.797 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.652e-05/0.004661, allocations: 11.88 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.005053, allocations: 112.6 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.005121, allocations: 32.84 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.005148, allocations: 15.75 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.005701, allocations: 81.58 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.00574, allocations: 33.95 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.00574, allocations: 1.719 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0005278/0.006268, allocations: 185.8 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.006315, allocations: 59.33 kB / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.006436, allocations: 164.5 kB / 0.8135 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.006455, allocations: 25.7 kB / 0.8135 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.006526, allocations: 126.9 kB / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.006549, allocations: 7.906 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.006591, allocations: 23.38 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.006848, allocations: 0.4884 MB / 0.8141 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.00687, allocations: 8.719 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.71e-05/0.006907, allocations: 19.38 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.006968, allocations: 37.02 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.006968, allocations: 0 / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001127/0.007081, allocations: 50.45 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.007096, allocations: 4.531 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.0071, allocations: 4 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.007113, allocations: 0.8438 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.007176, allocations: 11.98 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.007186, allocations: 10 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.007205, allocations: 0 / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.007211, allocations: 0 / 0.8143 GB, free: 14.33 MB / 0.7761 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 0.0001131/0.007324, allocations: 160.5 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.007349, allocations: 0 / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.007492, allocations: 68.41 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007494, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.007497, allocations: 192 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.007503, allocations: 3.938 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.007624, allocations: 112.6 kB / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007625, allocations: 0 / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.007676, allocations: 4 kB / 0.8146 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007678, allocations: 1.75 kB / 0.8146 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.00769, allocations: 7.984 kB / 0.8146 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.007693, allocations: 8 kB / 0.8146 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.007696, allocations: 3.984 kB / 0.8146 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.007867, allocations: 93.31 kB / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-06/0.007872, allocations: 4 kB / 0.8147 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.007882, allocations: 0 / 0.8147 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.007917, allocations: 5.125 kB / 0.8147 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.007941, allocations: 7.984 kB / 0.8147 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.007946, allocations: 0 / 0.8147 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.141e-05/0.008017, allocations: 123.9 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008017, allocations: 4 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002098/0.008227, allocations: 21.88 kB / 0.8149 GB, free: 13.65 MB / 0.7761 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.0002226/0.008449, allocations: 135.2 kB / 0.815 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.008545, allocations: 23.61 kB / 0.815 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.00855, allocations: 5.344 kB / 0.815 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.00858, allocations: 15.69 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.008729, allocations: 6.234 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.009002, allocations: 111 kB / 0.8152 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.009067, allocations: 64 kB / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.009096, allocations: 7.688 kB / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.009115, allocations: 8.5 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.009116, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of Templates: time 0.003892/0.01301, allocations: 0.9032 MB / 0.8161 GB, free: 12.34 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.961838516057469]