Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001426/0.001426, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 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.00146/0.00146, allocations: 216.9 kB / 23 MB, free: 4.969 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002879/0.002879, allocations: 67.98 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4504, allocations: 176.1 MB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002054/0.4525, allocations: 0.6295 MB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007871/0.4532, allocations: 315.3 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.4533, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.4533, allocations: 3.938 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.266e-05/0.4533, allocations: 4 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.4539, allocations: 123.6 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.454, allocations: 23.97 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.454, allocations: 0 / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.4541, allocations: 11.94 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.4541, allocations: 15.92 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.4542, allocations: 4 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.4546, allocations: 279.6 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.4546, allocations: 3.984 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.4546, allocations: 11.94 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.4549, allocations: 103.6 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4549, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4549, allocations: 4 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4549, allocations: 4 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005075/0.4554, allocations: 286 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.4554, allocations: 12.03 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.4555, allocations: 0.9375 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4557, allocations: 118.4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.4557, allocations: 4.312 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.4557, allocations: 8.375 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.4559, allocations: 97.66 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4559, allocations: 192 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4559, allocations: 11.94 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4559, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.456, allocations: 27.91 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.4562, allocations: 109.3 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.4564, allocations: 58.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/0.4564, allocations: 28.84 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.457, allocations: 79.91 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.457, allocations: 34.56 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.457, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001369/0.4584, allocations: 459.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.4585, allocations: 55.41 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/0.4585, allocations: 105.8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4586, allocations: 25.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.4586, allocations: 80.14 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.4587, allocations: 43.62 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.4587, allocations: 29.72 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4589, allocations: 314.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.833e-05/0.4589, allocations: 20 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.459, allocations: 19.98 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.4591, allocations: 59.84 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4591, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001677/0.4593, allocations: 97.64 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4593, allocations: 7.938 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4593, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4593, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.4594, allocations: 27.92 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4594, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.4595, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4595, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 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 (13): * Single equations (assignments): 13 * 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.000126/0.4596, allocations: 114.4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.4596, allocations: 11.89 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.4599, allocations: 113.6 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4599, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4599, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.46, allocations: 7.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.46, allocations: 8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.46, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.4601, allocations: 7.984 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000272/0.4603, allocations: 184.8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003421/0.4607, allocations: 294.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.545e-05/0.4607, allocations: 32.33 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.4608, allocations: 83.34 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Backend: time 5.51e-07/0.4608, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006298/0.4614, allocations: 166.9 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006065/0.462, allocations: 0.6083 MB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of Templates: time 0.005355/0.4674, allocations: 1.734 MB / 1.334 GB, free: 9.742 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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: 9.285619671005406]