Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 105.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.805/2.805, allocations: 476.7 MB / 0.7634 GB, free: 10.94 MB / 0.6231 GB [Timeout remaining time 87] 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 1.108 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9831/0.9851, allocations: 168.7 MB / 1.272 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003616/0.9887, allocations: 1.441 MB / 1.274 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.9897, allocations: 394.6 kB / 1.274 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.9897, allocations: 4 kB / 1.274 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.9897, allocations: 0 / 1.274 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.9898, allocations: 3.938 kB / 1.274 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.9903, allocations: 115.6 kB / 1.274 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.9903, allocations: 23.98 kB / 1.274 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.9904, allocations: 15.91 kB / 1.274 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.9905, allocations: 7.938 kB / 1.274 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.9905, allocations: 11.98 kB / 1.274 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.9905, allocations: 11.94 kB / 1.274 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.991, allocations: 275.7 kB / 1.275 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.991, allocations: 11.92 kB / 1.275 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.991, allocations: 7.938 kB / 1.275 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.9913, allocations: 118.3 kB / 1.275 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9913, allocations: 0 / 1.275 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9913, allocations: 0 / 1.275 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.9913, allocations: 0 / 1.275 GB, free: 2.473 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005715/0.9919, allocations: 363.2 kB / 1.275 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.9919, allocations: 12.03 kB / 1.275 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.992, allocations: 4.938 kB / 1.275 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.9921, allocations: 168.3 kB / 1.275 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.9922, allocations: 384 / 1.275 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.9922, allocations: 4.375 kB / 1.275 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.9924, allocations: 50.23 kB / 1.275 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.9924, allocations: 192 / 1.275 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.9924, allocations: 3.938 kB / 1.275 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9924, allocations: 3.938 kB / 1.275 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.9926, allocations: 35.97 kB / 1.275 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.993, allocations: 252.9 kB / 1.276 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.9933, allocations: 38.5 kB / 1.276 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.9934, allocations: 28.89 kB / 1.276 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009005/0.9943, allocations: 453.5 kB / 1.276 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.9943, allocations: 42.5 kB / 1.276 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9943, allocations: 0 / 1.276 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0005/0.9948, allocations: 81.64 kB / 1.276 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.9949, allocations: 51.41 kB / 1.276 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.995, allocations: 109.8 kB / 1.276 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.995, allocations: 25.7 kB / 1.276 GB, free: 500 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.9952, allocations: 84.27 kB / 1.276 GB, free: 412 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.9952, allocations: 15.94 kB / 1.276 GB, free: 396 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.9952, allocations: 9.719 kB / 1.277 GB, free: 380 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9954, allocations: 314.8 kB / 1.277 GB, free: 56 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.9955, allocations: 15.98 kB / 1.277 GB, free: 40 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.9955, allocations: 15.98 kB / 1.277 GB, free: 24 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.9957, allocations: 48.81 kB / 1.277 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9957, allocations: 0 / 1.277 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002149/0.996, allocations: 73.55 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.996, allocations: 4 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.996, allocations: 4 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.996, allocations: 0 / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.9961, allocations: 4.25 kB / 1.277 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.9961, allocations: 11.95 kB / 1.277 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.9961, allocations: 8 kB / 1.277 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.9961, allocations: 4 kB / 1.277 GB, free: 15.86 MB / 0.9825 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 0.0002095/0.9964, allocations: 115.8 kB / 1.277 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.9964, allocations: 3.984 kB / 1.277 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.9966, allocations: 81.11 kB / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9966, allocations: 4.031 kB / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9967, allocations: 0 / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9967, allocations: 4 kB / 1.277 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.9969, allocations: 157.6 kB / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9969, allocations: 0 / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.9969, allocations: 11.98 kB / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9969, allocations: 0 / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.9969, allocations: 0 / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9969, allocations: 0 / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9969, allocations: 0 / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.9972, allocations: 171.4 kB / 1.278 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.9973, allocations: 89.05 kB / 1.278 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.9973, allocations: 0 / 1.278 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.9974, allocations: 4 kB / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.9974, allocations: 3.984 kB / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.9974, allocations: 3.938 kB / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.9975, allocations: 87.31 kB / 1.278 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9975, allocations: 0 / 1.278 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002371/0.9977, allocations: 19.94 kB / 1.278 GB, free: 15.01 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0002195/0.9979, allocations: 112.8 kB / 1.278 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.9981, allocations: 35.97 kB / 1.278 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9981, allocations: 0 / 1.278 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.9983, allocations: 27.97 kB / 1.278 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.9986, allocations: 11.94 kB / 1.278 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.999, allocations: 139.2 kB / 1.278 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.9994, allocations: 0.6768 MB / 1.279 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.9995, allocations: 7.438 kB / 1.279 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9995, allocations: 4 kB / 1.279 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of Templates: time 0.002932/1.002, allocations: 0.7199 MB / 1.279 GB, free: 13.23 MB / 0.9825 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches