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.0009918/0.0009918, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001578/0.001578, allocations: 164.6 kB / 24.87 MB, free: 8.891 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 0.9855/0.9855, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.936/1.936, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] 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.483e-06/1.483e-06, allocations: 0 / 0.8128 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.823e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001871/0.0019, allocations: 0.6046 MB / 0.8134 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006848/0.002584, allocations: 313.5 kB / 0.8137 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.00261, allocations: 0 / 0.8137 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.002628, allocations: 3.938 kB / 0.8137 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.388e-05/0.002651, allocations: 3.938 kB / 0.8137 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.003135, allocations: 113.2 kB / 0.8138 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.003185, allocations: 4.656 kB / 0.8139 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.003226, allocations: 4 kB / 0.8139 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.00326, allocations: 8.859 kB / 0.8139 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.003318, allocations: 3.984 kB / 0.8139 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.003332, allocations: 1.25 kB / 0.8139 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.00371, allocations: 259.6 kB / 0.8141 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.003727, allocations: 3.938 kB / 0.8141 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.003745, allocations: 5.469 kB / 0.8141 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.003984, allocations: 123.7 kB / 0.8142 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.003987, allocations: 0 / 0.8142 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.003988, allocations: 0 / 0.8142 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003992, allocations: 1.5 kB / 0.8142 GB, free: 15.97 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004211/0.004413, allocations: 372.1 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.004458, allocations: 12.03 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.004542, allocations: 0.9375 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.004649, allocations: 114.8 kB / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.004663, allocations: 4.375 kB / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.004682, allocations: 384 / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.294e-05/0.004775, allocations: 63.95 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.004783, allocations: 1.594 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.00479, allocations: 384 / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.004799, allocations: 4.375 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.388e-05/0.004812, allocations: 7.781 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.004942, allocations: 97.88 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.477e-05/0.004997, allocations: 28.19 kB / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.005013, allocations: 19.61 kB / 0.8149 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/0.005457, allocations: 82.58 kB / 0.815 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.005487, allocations: 37.92 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.005489, allocations: 0.7188 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004692/0.005958, allocations: 175.1 kB / 0.8152 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.005991, allocations: 55.34 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.006073, allocations: 158.5 kB / 0.8154 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.006086, allocations: 25.7 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.006132, allocations: 128 kB / 0.8156 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.006162, allocations: 19.89 kB / 0.8156 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.006196, allocations: 19.38 kB / 0.8156 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.006351, allocations: 0.4891 MB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.006364, allocations: 4 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.006392, allocations: 24.08 kB / 0.8161 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.006435, allocations: 28.66 kB / 0.8161 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006436, allocations: 0 / 0.8161 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/0.006543, allocations: 50.58 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.00656, allocations: 4.938 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006565, allocations: 0 / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.006578, allocations: 3.984 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.006711, allocations: 13.34 kB / 0.8162 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.006714, allocations: 0 / 0.8162 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.006733, allocations: 7.875 kB / 0.8162 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.00674, allocations: 4.969 kB / 0.8162 GB, free: 13.72 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 7.585e-05/0.006816, allocations: 156.5 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.006852, allocations: 6.312 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.006972, allocations: 53.3 kB / 0.8164 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.006976, allocations: 4 kB / 0.8164 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.006978, allocations: 0 / 0.8164 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006981, allocations: 0 / 0.8164 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.747e-05/0.007069, allocations: 104.6 kB / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.00707, allocations: 0 / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.007121, allocations: 7.984 kB / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.007124, allocations: 0 / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.007129, allocations: 3.938 kB / 0.8165 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.00713, allocations: 0 / 0.8165 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.007132, allocations: 3.938 kB / 0.8165 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.007267, allocations: 92.31 kB / 0.8166 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.007278, allocations: 4 kB / 0.8166 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.007289, allocations: 4.719 kB / 0.8166 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.007318, allocations: 0 / 0.8166 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.007331, allocations: 4.484 kB / 0.8166 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.007338, allocations: 4.562 kB / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.007378, allocations: 119.8 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007378, allocations: 0 / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002575/0.007636, allocations: 29.28 kB / 0.8168 GB, free: 13.07 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.00021/0.007846, allocations: 123.2 kB / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.234e-05/0.007928, allocations: 28.2 kB / 0.8169 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.00793, allocations: 1.094 kB / 0.8169 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.007948, allocations: 15.67 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.008109, allocations: 8.594 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.008338, allocations: 106.3 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.008372, allocations: 60.66 kB / 0.8171 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.008407, allocations: 7.828 kB / 0.8171 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.008461, allocations: 74.2 kB / 0.8172 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of SimCode: time 8.52e-07/0.008462, allocations: 3.938 kB / 0.8172 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.00352/0.01198, allocations: 1.034 MB / 0.8182 GB, free: 11.58 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.109593058004975]