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.001106/0.001106, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001115/0.001115, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9856/0.9856, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.782/1.782, allocations: 359 MB / 0.6055 GB, free: 11.03 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.773e-06/1.773e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.86e-05, allocations: 7.641 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001747/0.001766, allocations: 1.491 MB / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.002303, allocations: 368.9 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.002336, allocations: 0 / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.002361, allocations: 0 / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.002406, allocations: 12.64 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.002764, allocations: 113.5 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.002829, allocations: 27.88 kB / 0.7891 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.002912, allocations: 3.984 kB / 0.7891 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.995e-05/0.002962, allocations: 12.81 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.313e-05/0.002995, allocations: 7.984 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.003011, allocations: 4.594 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.003261, allocations: 263.6 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.003275, allocations: 5.125 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.003295, allocations: 8 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.003481, allocations: 131.6 kB / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003483, allocations: 1.531 kB / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003483, allocations: 0 / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.003487, allocations: 0 / 0.7895 GB, free: 10.39 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.000351/0.003838, allocations: 389.7 kB / 0.7898 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.003875, allocations: 12.03 kB / 0.7899 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.003953, allocations: 4.938 kB / 0.7899 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.004035, allocations: 116.6 kB / 0.79 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.004046, allocations: 3.469 kB / 0.79 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.004055, allocations: 8.359 kB / 0.79 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.004169, allocations: 58.94 kB / 0.79 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.004176, allocations: 192 / 0.79 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.004185, allocations: 384 / 0.79 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.004192, allocations: 384 / 0.79 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.004225, allocations: 11.88 kB / 0.7901 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.004481, allocations: 247.8 kB / 0.7903 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.389e-05/0.004525, allocations: 28.19 kB / 0.7903 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.004546, allocations: 15.75 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.004849, allocations: 71.27 kB / 0.7904 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.004871, allocations: 37.39 kB / 0.7904 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.004872, allocations: 0 / 0.7904 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000156/0.005028, allocations: 50.19 kB / 0.7905 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.005054, allocations: 56.22 kB / 0.7905 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.005122, allocations: 161.9 kB / 0.7907 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.005131, allocations: 26.27 kB / 0.7907 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.005175, allocations: 139.4 kB / 0.7908 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.00519, allocations: 3.953 kB / 0.7909 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.005215, allocations: 20.06 kB / 0.7909 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.005313, allocations: 0.4884 MB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.005325, allocations: 1.375 kB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-06/0.005335, allocations: 4 kB / 0.7914 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.005364, allocations: 17.31 kB / 0.7914 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.005366, allocations: 0 / 0.7914 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.786e-05/0.005423, allocations: 41.7 kB / 0.7914 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.005435, allocations: 4 kB / 0.7914 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.005441, allocations: 9.891 kB / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.005452, allocations: 0 / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.163e-05/0.005504, allocations: 4 kB / 0.7914 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.005509, allocations: 3.938 kB / 0.7914 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.005526, allocations: 7.938 kB / 0.7914 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.00553, allocations: 0.6562 kB / 0.7914 GB, free: 8.184 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.683e-05/0.005587, allocations: 163 kB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.005607, allocations: 3.953 kB / 0.7916 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.277e-05/0.00568, allocations: 53.19 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005681, allocations: 0 / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.005684, allocations: 4 kB / 0.7917 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005687, allocations: 0 / 0.7917 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.439e-05/0.005771, allocations: 114.5 kB / 0.7918 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.005773, allocations: 4.234 kB / 0.7918 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.005793, allocations: 8 kB / 0.7918 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005794, allocations: 0 / 0.7918 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.0058, allocations: 0 / 0.7918 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.005801, allocations: 8.469 kB / 0.7918 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005802, allocations: 0 / 0.7918 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.487e-05/0.005887, allocations: 192.4 kB / 0.792 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-06/0.005891, allocations: 1.688 kB / 0.792 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.005901, allocations: 0 / 0.792 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.014e-05/0.005931, allocations: 7.938 kB / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.005963, allocations: 3.984 kB / 0.792 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.005966, allocations: 2.219 kB / 0.792 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.005999, allocations: 127.2 kB / 0.7921 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005999, allocations: 0 / 0.7921 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001477/0.006147, allocations: 12 kB / 0.7921 GB, free: 7.434 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.0001184/0.006265, allocations: 115.2 kB / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.288e-05/0.006338, allocations: 16.81 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006339, allocations: 0 / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.006356, allocations: 16.38 kB / 0.7923 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.006525, allocations: 8.578 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.006749, allocations: 123 kB / 0.7924 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.161e-05/0.006781, allocations: 59.05 kB / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.465e-05/0.006795, allocations: 0 / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.006813, allocations: 8.5 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.006813, allocations: 0 / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.002245/0.009059, allocations: 0.7721 MB / 0.7932 GB, free: 6.281 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: 4.970392349874601]