Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0009676/0.0009676, allocations: 81.95 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.0009983/0.0009983, allocations: 164.2 kB / 24.86 MB, free: 8.891 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.9119/0.9119, allocations: 177.2 MB / 205.3 MB, free: 5.488 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.701/1.701, 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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.09e-05, allocations: 5.125 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00438/0.004401, allocations: 4.81 MB / 0.793 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.006692, allocations: 1.715 MB / 0.7947 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.006974, allocations: 40.25 kB / 0.7947 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.007532, allocations: 207.6 kB / 0.7949 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005954/0.008127, allocations: 449.7 kB / 0.7954 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.008689, allocations: 401.7 kB / 0.7957 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.009718, allocations: 1.28 MB / 0.797 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005627/0.01028, allocations: 0.5373 MB / 0.7975 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005924/0.01087, allocations: 0.6663 MB / 0.7982 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.01136, allocations: 0.4895 MB / 0.7986 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.868e-05/0.01143, allocations: 68 kB / 0.7987 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.01164, allocations: 143.8 kB / 0.7988 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.01184, allocations: 323.1 kB / 0.7991 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.01206, allocations: 307.3 kB / 0.7994 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.01267, allocations: 0.7439 MB / 0.8002 GB, free: 88 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.01267, allocations: 4 kB / 0.8002 GB, free: 84 kB / 0.7448 GB Notification: Performance of FrontEnd: time 9.71e-07/0.01267, allocations: 0.7188 kB / 0.8002 GB, free: 84 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.01268, allocations: 0 / 0.8002 GB, free: 84 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001045/0.01373, allocations: 1.178 MB / 0.8013 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.01376, allocations: 8.031 kB / 0.8013 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007104/0.01447, allocations: 287.8 kB / 0.8016 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.015, allocations: 0.5407 MB / 0.8021 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.01503, allocations: 46.45 kB / 0.8022 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.0151, allocations: 76.31 kB / 0.8022 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.01578, allocations: 1.03 MB / 0.8033 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.0158, allocations: 9.219 kB / 0.8033 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.01584, allocations: 32.36 kB / 0.8033 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-05/0.01593, allocations: 89.19 kB / 0.8034 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.01622, allocations: 286 kB / 0.8037 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.01891, allocations: 5.588 MB / 0.8091 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.01927, allocations: 248.5 kB / 0.8093 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.01939, allocations: 121.1 kB / 0.8095 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.01942, allocations: 16.42 kB / 0.8095 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.01945, allocations: 41.89 kB / 0.8095 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.01945, allocations: 0 / 0.8095 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.001424/0.02087, allocations: 0.8929 MB / 0.8104 GB, free: 5.125 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.0209, allocations: 55.91 kB / 0.8104 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.02119, allocations: 0.5332 MB / 0.811 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.02122, allocations: 33.7 kB / 0.811 GB, free: 4.469 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.02142, allocations: 486.5 kB / 0.8115 GB, free: 3.984 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.02151, allocations: 178.5 kB / 0.8116 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.02163, allocations: 144.1 kB / 0.8118 GB, free: 3.656 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.02177, allocations: 0.5468 MB / 0.8123 GB, free: 3.098 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.02187, allocations: 81.94 kB / 0.8124 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.0221, allocations: 404.6 kB / 0.8128 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.02248, allocations: 0.5349 MB / 0.8133 GB, free: 1.832 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.02248, allocations: 0 / 0.8133 GB, free: 1.832 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007081/0.02319, allocations: 0.6791 MB / 0.814 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.0232, allocations: 8 kB / 0.814 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.02321, allocations: 8 kB / 0.814 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/0.02387, allocations: 294.6 kB / 0.8142 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.0241, allocations: 111.8 kB / 0.8144 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.02766, allocations: 7.472 MB / 0.8217 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.02788, allocations: 27.98 kB / 0.8217 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.02791, allocations: 20.19 kB / 0.8217 GB, free: 8.715 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.02806, allocations: 200.3 kB / 0.8219 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.02814, allocations: 91.52 kB / 0.822 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.02872, allocations: 0.5026 MB / 0.8225 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.02872, allocations: 4 kB / 0.8225 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.02872, allocations: 7.938 kB / 0.8225 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.02873, allocations: 0 / 0.8225 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.02975, allocations: 1.014 MB / 0.8235 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.02976, allocations: 4 kB / 0.8235 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.02987, allocations: 47.92 kB / 0.8235 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006097/0.03048, allocations: 286.4 kB / 0.8238 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.0305, allocations: 8 kB / 0.8238 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.03373, allocations: 7.457 MB / 0.8311 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03373, allocations: 0 / 0.8311 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.03434, allocations: 0.6974 MB / 0.8318 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.03446, allocations: 99.52 kB / 0.8319 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.0345, allocations: 12 kB / 0.8319 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.03465, allocations: 12 kB / 0.8319 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/0.03473, allocations: 47.86 kB / 0.8319 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.03475, allocations: 12 kB / 0.8319 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000171/0.03492, allocations: 326.6 kB / 0.8322 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.03492, allocations: 0 / 0.8322 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005017/0.03543, allocations: 224 kB / 0.8325 GB, free: 13.05 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001204/0.03555, allocations: 115.2 kB / 0.8326 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.03647, allocations: 1.14 MB / 0.8337 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.03648, allocations: 4 kB / 0.8337 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.03706, allocations: 0.9454 MB / 0.8346 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.03771, allocations: 203.2 kB / 0.8348 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.03932, allocations: 1.261 MB / 0.836 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.03953, allocations: 215.4 kB / 0.8362 GB, free: 8.945 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.03973, allocations: 73.58 kB / 0.8363 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.04001, allocations: 242.1 kB / 0.8365 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of SimCode: time 9.92e-07/0.04001, allocations: 0 / 0.8365 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of Templates: time 0.01399/0.054, allocations: 12.35 MB / 0.8486 GB, free: 12.54 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.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.112867038231343]