Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001422/0.001422, allocations: 114.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.001808/0.001808, allocations: 194.3 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.466/1.466, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.902/2.902, allocations: 476.7 MB / 0.7645 GB, free: 10.13 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 75.81 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8448, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001727/0.8466, allocations: 0.6003 MB / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006934/0.8473, allocations: 358.7 kB / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.8473, allocations: 0 / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.8473, allocations: 7.875 kB / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.435e-05/0.8473, allocations: 0 / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.8478, allocations: 121 kB / 1.275 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.337e-05/0.8478, allocations: 15.98 kB / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.8479, allocations: 0 / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.8479, allocations: 11.98 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.8479, allocations: 0 / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.8479, allocations: 0 / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003971/0.8483, allocations: 271.7 kB / 1.275 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.8484, allocations: 11.92 kB / 1.275 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.8484, allocations: 7.984 kB / 1.275 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.8486, allocations: 86.47 kB / 1.276 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8486, allocations: 3.938 kB / 1.276 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8486, allocations: 0 / 1.276 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.8486, allocations: 4 kB / 1.276 GB, free: 3.078 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004038/0.849, allocations: 351.2 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.849, allocations: 12.03 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.8491, allocations: 0.9375 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.8492, allocations: 160.4 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.8492, allocations: 4.375 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.8492, allocations: 384 / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/0.8493, allocations: 38.19 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.8493, allocations: 192 / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.8493, allocations: 7.938 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.8493, allocations: 4 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.8494, allocations: 4 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.8496, allocations: 149.7 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.445e-05/0.8496, allocations: 22.58 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.8496, allocations: 4.859 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008401/0.8505, allocations: 461.5 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.8505, allocations: 34.5 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.8505, allocations: 0 / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005832/0.8511, allocations: 262.5 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.8511, allocations: 51.41 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.8512, allocations: 93.86 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.8512, allocations: 29.7 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.8513, allocations: 80.14 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.8513, allocations: 15.83 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.8513, allocations: 17.72 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.8515, allocations: 315 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.8515, allocations: 8 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.8515, allocations: 21.64 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.8516, allocations: 29.66 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.8516, allocations: 3.938 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001037/0.8517, allocations: 53.69 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.8517, allocations: 7.938 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.8517, allocations: 0 / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.8517, allocations: 4 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/0.8518, allocations: 4 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.8518, allocations: 3.938 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.8518, allocations: 8 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.8518, allocations: 0 / 1.278 GB, free: 500 kB / 0.9669 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 8.152e-05/0.8519, allocations: 109.8 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.8519, allocations: 12 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.8521, allocations: 53.19 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.8521, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8521, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8521, allocations: 192 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.8522, allocations: 153.7 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8522, allocations: 3.984 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.8523, allocations: 7.938 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.8523, allocations: 11.92 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.8523, allocations: 4 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8523, allocations: 4 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8523, allocations: 0 / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.8525, allocations: 77.08 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.8525, allocations: 77.14 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.8525, allocations: 7.938 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.8526, allocations: 4 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.8526, allocations: 8.047 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.8526, allocations: 4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.137e-05/0.8526, allocations: 75.28 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8526, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002347/0.8529, allocations: 23.94 kB / 1.278 GB, free: 15.76 MB / 0.9825 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.0002294/0.8531, allocations: 127.7 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.8532, allocations: 19.92 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8532, allocations: 224 / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.8532, allocations: 11.94 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.8534, allocations: 11.94 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.8537, allocations: 129.4 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.8541, allocations: 0.6806 MB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.8541, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.8541, allocations: 11.44 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8541, allocations: 4 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of Templates: time 0.003635/0.8578, allocations: 0.8836 MB / 1.28 GB, free: 13.84 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.831582040991634]