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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 115.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.002011/0.002011, allocations: 192.1 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.493/1.493, 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 3.031/3.031, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7874, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002879/0.7903, allocations: 1.454 MB / 1.275 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000741/0.7911, allocations: 390.6 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.7911, allocations: 4 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.7911, allocations: 7.938 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.7912, allocations: 7.922 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.7916, allocations: 119.6 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.429e-05/0.7917, allocations: 23.92 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.583e-05/0.7918, allocations: 4 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.7918, allocations: 15.92 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.7919, allocations: 11.98 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.7919, allocations: 4 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.7923, allocations: 279.6 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.7923, allocations: 4 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.7923, allocations: 11.92 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.7926, allocations: 118.3 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7926, allocations: 0 / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7926, allocations: 0 / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.7926, allocations: 0 / 1.276 GB, free: 2.145 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.0005752/0.7932, allocations: 367.2 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7932, allocations: 12.03 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.497e-05/0.7933, allocations: 4.938 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.7934, allocations: 168.3 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.7935, allocations: 384 / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.7935, allocations: 8.312 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.7937, allocations: 42.25 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.7937, allocations: 8.172 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.7937, allocations: 7.938 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7937, allocations: 0 / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.7939, allocations: 35.97 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.7942, allocations: 248.9 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.7944, allocations: 42.44 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.7945, allocations: 24.91 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000725/0.7952, allocations: 457.5 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.7952, allocations: 30.56 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.7952, allocations: 8 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003789/0.7956, allocations: 85.62 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.7957, allocations: 55.34 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.7957, allocations: 109.8 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.7958, allocations: 25.7 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.7958, allocations: 84.27 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.7958, allocations: 7.953 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.7959, allocations: 17.72 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.796, allocations: 314.8 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.7961, allocations: 19.98 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.7962, allocations: 11.98 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.7964, allocations: 44.88 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7964, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002211/0.7966, allocations: 77.5 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7966, allocations: 4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.7966, allocations: 256 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.7966, allocations: 7.938 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.7967, allocations: 11.98 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.7967, allocations: 4.031 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.7968, allocations: 7.984 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.7968, allocations: 0 / 1.279 GB, free: 15.52 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 8.29e-05/0.7969, allocations: 114.3 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.7969, allocations: 0 / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.7971, allocations: 73.19 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7971, allocations: 4.031 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7972, allocations: 3.984 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7972, allocations: 0 / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.7973, allocations: 165.6 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7973, allocations: 0 / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.7974, allocations: 11.92 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.7974, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.7974, allocations: 4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7974, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7974, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.7977, allocations: 167.5 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.7978, allocations: 81.06 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.7978, allocations: 4 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.7978, allocations: 7.984 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.7979, allocations: 7.938 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.7979, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.7979, allocations: 87.3 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7979, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000244/0.7982, allocations: 19.94 kB / 1.279 GB, free: 14.68 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.0002018/0.7984, allocations: 107.2 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.7986, allocations: 39.89 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7986, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.7987, allocations: 24.05 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.799, allocations: 3.938 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.7993, allocations: 121.4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.7997, allocations: 0.6768 MB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.7998, allocations: 0 / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.7998, allocations: 11.44 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.7998, allocations: 4.062 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.003383/0.8032, allocations: 0.7257 MB / 1.281 GB, free: 12.92 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 -s cvode -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_2/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 [Calling sys.exit(0), Time elapsed: 9.049307165667415]