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.001319/0.001319, 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.001465/0.001465, allocations: 216.1 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.291/3.291, 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.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: 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.002209/0.002209, allocations: 65.45 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3924, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002956/0.3953, allocations: 1.476 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.3961, allocations: 358.8 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.3961, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.3962, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.3962, allocations: 3.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.3967, allocations: 119.6 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.341e-05/0.3967, allocations: 19.98 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.3968, allocations: 11.92 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.111e-05/0.3969, allocations: 15.88 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.3969, allocations: 11.98 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3969, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.3973, allocations: 283.6 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3973, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.3974, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.3976, allocations: 115.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3976, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3976, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3976, allocations: 0 / 1.329 GB, free: 14.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005438/0.3981, allocations: 286 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.3982, allocations: 8.031 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.3983, allocations: 8.891 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3984, allocations: 106.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3984, allocations: 4.375 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.3984, allocations: 4.312 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3986, allocations: 58.22 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3986, allocations: 192 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3986, allocations: 3.938 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3986, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.3988, allocations: 35.91 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.3992, allocations: 196.6 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3993, allocations: 38.56 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.3994, allocations: 24.89 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.4, allocations: 83.86 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4, allocations: 34.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4, allocations: 4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003986/0.4004, allocations: 85.59 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.4005, allocations: 51.41 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.4006, allocations: 105.8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4006, allocations: 25.7 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.4007, allocations: 88.14 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.4007, allocations: 7.891 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.4007, allocations: 13.84 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4009, allocations: 322.8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.401, allocations: 11.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-05/0.4011, allocations: 19.98 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.4012, allocations: 48.69 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4012, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002314/0.4015, allocations: 69.67 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4015, allocations: 4 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4015, allocations: 256 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4015, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.4016, allocations: 15.98 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.4016, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.4017, allocations: 7.984 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.4017, allocations: 0 / 1.331 GB, free: 12.67 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 (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 9.367e-05/0.4018, allocations: 117.9 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.4018, allocations: 7.891 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.4021, allocations: 77.22 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4021, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4021, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.4021, allocations: 7.984 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.4021, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.4022, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.4022, allocations: 3.984 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002781/0.4025, allocations: 156.8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003287/0.4028, allocations: 242.7 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.45e-05/0.4029, allocations: 11.98 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.4029, allocations: 91.27 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Backend: time 4.81e-07/0.4029, allocations: 4.062 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005908/0.4035, allocations: 126.3 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005994/0.4041, allocations: 0.5571 MB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of Templates: time 0.004571/0.4087, allocations: 1.488 MB / 1.334 GB, free: 9.695 MB / 1.029 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/jenkins1/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: 9.428779111003678]