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.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.001428/0.001428, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001227/0.001227, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 18.57 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 0.9978/0.9978, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.819/1.819, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.112e-06/1.112e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.019e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001892/0.001912, allocations: 1.505 MB / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.002413, allocations: 359.4 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.002444, allocations: 0.6562 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.002467, allocations: 0 / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.002514, allocations: 12.44 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.002971, allocations: 114 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.00303, allocations: 27.92 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.0031, allocations: 4 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.003146, allocations: 19.36 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.003175, allocations: 11.98 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.003188, allocations: 0 / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.003444, allocations: 259.6 kB / 0.7905 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.003458, allocations: 4 kB / 0.7906 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.003472, allocations: 7.938 kB / 0.7906 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.003641, allocations: 131.7 kB / 0.7907 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003643, allocations: 0 / 0.7907 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003644, allocations: 0 / 0.7907 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.003648, allocations: 0 / 0.7907 GB, free: 9.781 MB / 0.7448 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.0002904/0.003939, allocations: 381.1 kB / 0.791 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.003973, allocations: 12.62 kB / 0.7911 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.004026, allocations: 8.875 kB / 0.7911 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.929e-05/0.004095, allocations: 122.1 kB / 0.7912 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.004103, allocations: 384 / 0.7912 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-06/0.004109, allocations: 4.375 kB / 0.7912 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.004194, allocations: 54.94 kB / 0.7912 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.004199, allocations: 0.9375 kB / 0.7912 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-06/0.004204, allocations: 384 / 0.7912 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.004208, allocations: 1.094 kB / 0.7912 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.004227, allocations: 7.938 kB / 0.7913 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.00442, allocations: 237.7 kB / 0.7915 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.896e-05/0.004459, allocations: 27.06 kB / 0.7915 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.004472, allocations: 12.22 kB / 0.7915 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.004739, allocations: 74.86 kB / 0.7916 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.004756, allocations: 37.39 kB / 0.7916 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004757, allocations: 0.5625 kB / 0.7916 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001191/0.004877, allocations: 50.94 kB / 0.7917 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.004899, allocations: 51.41 kB / 0.7917 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.004965, allocations: 165.9 kB / 0.7919 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.004975, allocations: 26.33 kB / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.005014, allocations: 134.8 kB / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.005028, allocations: 9.906 kB / 0.792 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.005051, allocations: 19.38 kB / 0.7921 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.005155, allocations: 496.1 kB / 0.7925 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-06/0.005164, allocations: 4 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.005171, allocations: 0 / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.005193, allocations: 12.94 kB / 0.7925 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005195, allocations: 0 / 0.7925 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.253e-05/0.005257, allocations: 46.95 kB / 0.7926 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.005268, allocations: 5.562 kB / 0.7926 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005273, allocations: 4.234 kB / 0.7926 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.114e-06/0.00528, allocations: 4.562 kB / 0.7926 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.005323, allocations: 8 kB / 0.7926 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.005326, allocations: 5.125 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.005342, allocations: 3.938 kB / 0.7926 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.005346, allocations: 0 / 0.7926 GB, free: 7.609 MB / 0.7448 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 5.635e-05/0.005402, allocations: 158.1 kB / 0.7928 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.005426, allocations: 7.938 kB / 0.7928 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.00549, allocations: 49.25 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.005492, allocations: 4.844 kB / 0.7928 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005494, allocations: 4 kB / 0.7928 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005496, allocations: 0.8438 kB / 0.7928 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.642e-05/0.005582, allocations: 97.25 kB / 0.7929 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005583, allocations: 2.219 kB / 0.7929 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.005603, allocations: 7.984 kB / 0.7929 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.005604, allocations: 0 / 0.7929 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-06/0.005608, allocations: 3.938 kB / 0.7929 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005609, allocations: 0 / 0.7929 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005609, allocations: 4 kB / 0.7929 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.707e-05/0.005696, allocations: 186.6 kB / 0.7931 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-06/0.005703, allocations: 7.984 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-06/0.005709, allocations: 0 / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.852e-05/0.005738, allocations: 0 / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.005762, allocations: 7.938 kB / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.005765, allocations: 3.938 kB / 0.7931 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.005798, allocations: 131.2 kB / 0.7933 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.005798, allocations: 1.531 kB / 0.7933 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000159/0.005957, allocations: 12 kB / 0.7933 GB, free: 6.883 MB / 0.7448 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.0001156/0.006073, allocations: 115.7 kB / 0.7934 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.859e-05/0.006132, allocations: 17.31 kB / 0.7934 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.006133, allocations: 0 / 0.7934 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.006148, allocations: 11.69 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.006313, allocations: 4.781 kB / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001839/0.006497, allocations: 118.8 kB / 0.7935 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.00678, allocations: 64.38 kB / 0.7936 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.006798, allocations: 0 / 0.7936 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.006835, allocations: 70.86 kB / 0.7937 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.006836, allocations: 0 / 0.7937 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.002216/0.009052, allocations: 0.8669 MB / 0.7945 GB, free: 5.578 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.068385397084057]