Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001108/0.001108, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001567/0.001567, allocations: 161 kB / 23.82 MB, free: 0.7539 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 1.005/1.005, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.743/1.743, allocations: 359 MB / 0.6052 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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.774e-05, allocations: 7.156 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01149/0.01151, allocations: 14.05 MB / 0.8008 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006834/0.01835, allocations: 4.129 MB / 0.8049 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.01978, allocations: 123.1 kB / 0.805 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.02106, allocations: 0.5784 MB / 0.8056 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.02377, allocations: 1.72 MB / 0.8072 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.0259, allocations: 1.224 MB / 0.8084 GB, free: 6.625 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.005883/0.03179, allocations: 6.916 MB / 0.8152 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004461/0.03625, allocations: 3.63 MB / 0.8187 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005015/0.04126, allocations: 3.997 MB / 0.8226 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003814/0.04508, allocations: 3.518 MB / 0.8261 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0006827/0.04576, allocations: 0.5273 MB / 0.8266 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.04685, allocations: 0.6715 MB / 0.8272 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002004/0.04885, allocations: 2.706 MB / 0.8299 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.05039, allocations: 1.774 MB / 0.8316 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.05407, allocations: 4.608 MB / 0.8361 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.05408, allocations: 0.5 kB / 0.8361 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.213e-06/0.05408, allocations: 4 kB / 0.8361 GB, free: 10.13 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.98e-05/0.05415, allocations: 0 / 0.8361 GB, free: 10.13 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004796/0.05895, allocations: 4.676 MB / 0.8407 GB, free: 5.395 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.05899, allocations: 8.031 kB / 0.8407 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/0.0643, allocations: 2.233 MB / 0.8429 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/0.06751, allocations: 2.522 MB / 0.8453 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.06765, allocations: 279.7 kB / 0.8456 GB, free: 308 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.06808, allocations: 364.3 kB / 0.8459 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005302/0.07338, allocations: 4.132 MB / 0.85 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.925e-05/0.07344, allocations: 20.02 kB / 0.85 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.07372, allocations: 156.3 kB / 0.8501 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003921/0.07411, allocations: 487.3 kB / 0.8506 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003012/0.07712, allocations: 1.602 MB / 0.8522 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.09479, allocations: 21.25 MB / 0.8729 GB, free: 3.359 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.09588, allocations: 0.7785 MB / 0.8737 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.09698, allocations: 0.8226 MB / 0.8745 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.0971, allocations: 29.31 kB / 0.8745 GB, free: 1.711 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.09713, allocations: 50.64 kB / 0.8746 GB, free: 1.652 MB / 0.823 GB Notification: Performance of pre-optimization done (n=146): time 3.347e-06/0.09713, allocations: 0 / 0.8746 GB, free: 1.652 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.03415/0.1313, allocations: 17.04 MB / 0.8912 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.1313, allocations: 81.39 kB / 0.8913 GB, free: 492 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.1328, allocations: 1.437 MB / 0.8927 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.1331, allocations: 65.7 kB / 0.8928 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008821/0.1339, allocations: 1.866 MB / 0.8946 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006038/0.1346, allocations: 0.9064 MB / 0.8955 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006521/0.1352, allocations: 455.9 kB / 0.8959 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1353, allocations: 488.6 kB / 0.8964 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.1366, allocations: 0.7274 MB / 0.8971 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.1383, allocations: 1.576 MB / 0.8986 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.1413, allocations: 2.518 MB / 0.9011 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.1413, allocations: 4 kB / 0.9011 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0158/0.1571, allocations: 8.582 MB / 0.9095 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.1571, allocations: 16.06 kB / 0.9095 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.1572, allocations: 20 kB / 0.9095 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01672/0.1739, allocations: 6.916 MB / 0.9162 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/0.1747, allocations: 299.5 kB / 0.9165 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03336/0.2081, allocations: 25.52 MB / 0.9414 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.2099, allocations: 223.7 kB / 0.9417 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.2101, allocations: 99.98 kB / 0.9418 GB, free: 11.24 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001082/0.2112, allocations: 306.6 kB / 0.942 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/0.2116, allocations: 326.5 kB / 0.9424 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.2274, allocations: 8.616 MB / 0.9508 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.2274, allocations: 24 kB / 0.9508 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001073/0.2275, allocations: 44 kB / 0.9508 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.289e-05/0.2275, allocations: 19.89 kB / 0.9509 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/0.2494, allocations: 12.4 MB / 0.963 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.2494, allocations: 8 kB / 0.963 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.2499, allocations: 164.6 kB / 0.9631 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01624/0.2661, allocations: 6.744 MB / 0.9697 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/0.2664, allocations: 48 kB / 0.9698 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03278/0.2991, allocations: 25.41 MB / 0.9946 GB, free: 4.078 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.2991, allocations: 7.938 kB / 0.9946 GB, free: 4.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/0.3149, allocations: 8.558 MB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.3163, allocations: 0.709 MB / 1.004 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.3166, allocations: 51.98 kB / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.3179, allocations: 207.7 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/0.319, allocations: 257.2 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.3191, allocations: 67.98 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008304/0.3199, allocations: 0.8219 MB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.3199, allocations: 0 / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003709/0.3237, allocations: 1.617 MB / 1.007 GB, free: 7.629 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003101/0.324, allocations: 163 kB / 1.007 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01162/0.3356, allocations: 6.787 MB / 1.013 GB, free: 0.5547 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.3356, allocations: 4 kB / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.009468/0.3451, allocations: 5.57 MB / 1.019 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.3471, allocations: 0.5378 MB / 1.019 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.358, allocations: 7.502 MB / 1.027 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.3594, allocations: 1.297 MB / 1.028 GB, free: 1.367 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007814/0.3602, allocations: 318.8 kB / 1.028 GB, free: 1.051 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.3604, allocations: 96.48 kB / 1.028 GB, free: 0.957 MB / 0.9792 GB Notification: Performance of SimCode: time 2.034e-06/0.3604, allocations: 0 / 1.028 GB, free: 0.957 MB / 0.9792 GB Notification: Performance of Templates: time 0.4509/0.8113, allocations: 100.2 MB / 1.126 GB, free: 255.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.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: 7.09924038592726]