Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001677/0.001677, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.001691/0.001691, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.542/1.542, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 75.88 kB / 1.057 GB, free: 1.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 160.7 MB / 1.214 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002798/0.3648, allocations: 1.435 MB / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007845/0.3656, allocations: 383.6 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.3656, allocations: 3.938 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.3657, allocations: 7.938 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.3657, allocations: 3.938 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.3662, allocations: 115.6 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.376e-05/0.3663, allocations: 23.92 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.3664, allocations: 7.938 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.3664, allocations: 11.98 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.3665, allocations: 15.91 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3665, allocations: 8 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.3669, allocations: 275.7 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.3669, allocations: 11.92 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.367, allocations: 11.94 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3672, allocations: 107.6 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3672, allocations: 0 / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3672, allocations: 0 / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3672, allocations: 0 / 1.216 GB, free: 14.52 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.0005721/0.3678, allocations: 367.1 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3678, allocations: 12.03 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.3679, allocations: 4.938 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.368, allocations: 172.3 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.368, allocations: 4.375 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.368, allocations: 384 / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3682, allocations: 50.23 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3682, allocations: 192 / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3682, allocations: 3.938 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3682, allocations: 0 / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.3684, allocations: 35.97 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3688, allocations: 252.9 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3689, allocations: 42.44 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.62e-05/0.369, allocations: 32.89 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000716/0.3697, allocations: 457.5 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3698, allocations: 30.56 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3698, allocations: 4 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003921/0.3702, allocations: 85.58 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3702, allocations: 51.41 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.733e-05/0.3703, allocations: 105.8 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3703, allocations: 25.7 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.3704, allocations: 84.14 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.3704, allocations: 12.08 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.3704, allocations: 9.719 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3706, allocations: 322.8 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.3706, allocations: 11.98 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.3707, allocations: 19.92 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.3709, allocations: 44.88 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3709, allocations: 0 / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002075/0.3711, allocations: 69.55 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3711, allocations: 8 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3711, allocations: 7.922 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3711, allocations: 0 / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.871e-05/0.3712, allocations: 4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3712, allocations: 4.031 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.3713, allocations: 19.88 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.3713, allocations: 4 kB / 1.219 GB, free: 11.89 MB / 0.9669 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.089e-05/0.3713, allocations: 109.8 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.3714, allocations: 4 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.3716, allocations: 77.16 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3716, allocations: 8.016 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3716, allocations: 4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3716, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.3718, allocations: 161.5 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3718, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.3719, allocations: 11.98 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3719, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3719, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3719, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3719, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.3721, allocations: 167.5 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.3722, allocations: 85.06 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.3722, allocations: 256 / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.3723, allocations: 11.98 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.3723, allocations: 0 / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3723, allocations: 4 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.3724, allocations: 91.3 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3724, allocations: 0 / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002287/0.3726, allocations: 12 kB / 1.219 GB, free: 11.05 MB / 0.9669 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.0001958/0.3728, allocations: 119.1 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.373, allocations: 31.97 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.373, allocations: 7.938 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.3731, allocations: 16.05 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3734, allocations: 11.94 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.3737, allocations: 135.9 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.374, allocations: 0.6768 MB / 1.22 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.374, allocations: 11.44 kB / 1.22 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of SimCode: time 4.7e-07/0.374, allocations: 3.938 kB / 1.22 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of Templates: time 0.002424/0.3765, allocations: 0.6951 MB / 1.221 GB, free: 9.281 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.583043111022562]