Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001138/0.001138, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001118/0.001118, allocations: 161 kB / 23.82 MB, free: 0.75 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.9394/0.9394, allocations: 177.2 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.833/1.833, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.673e-05, allocations: 9.203 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.005567/0.005584, allocations: 6.356 MB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003115/0.008699, allocations: 2.092 MB / 0.8198 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.009095, allocations: 48.78 kB / 0.8199 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006231/0.009718, allocations: 258.3 kB / 0.8201 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00084/0.01056, allocations: 0.6567 MB / 0.8207 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.01134, allocations: 0.5436 MB / 0.8213 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.01332, allocations: 2.742 MB / 0.824 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.01468, allocations: 1.38 MB / 0.8253 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.01635, allocations: 1.568 MB / 0.8268 GB, free: 1.992 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.01786, allocations: 1.427 MB / 0.8282 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003015/0.01817, allocations: 219.9 kB / 0.8284 GB, free: 360 kB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.01861, allocations: 316.4 kB / 0.8287 GB, free: 44 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006549/0.01927, allocations: 1.068 MB / 0.8298 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.01992, allocations: 0.7106 MB / 0.8305 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.02135, allocations: 1.917 MB / 0.8323 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.02135, allocations: 0 / 0.8323 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.183e-06/0.02136, allocations: 1.094 kB / 0.8323 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.237e-05/0.0214, allocations: 0 / 0.8323 GB, free: 12.34 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002189/0.02359, allocations: 2.059 MB / 0.8344 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.02362, allocations: 8.031 kB / 0.8344 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.02655, allocations: 1.147 MB / 0.8355 GB, free: 9.086 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.0277, allocations: 1.043 MB / 0.8365 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.02775, allocations: 115.3 kB / 0.8366 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.02793, allocations: 148.3 kB / 0.8368 GB, free: 7.766 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.0299, allocations: 1.664 MB / 0.8384 GB, free: 5.953 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.02993, allocations: 4.188 kB / 0.8384 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.03006, allocations: 61.72 kB / 0.8384 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.0302, allocations: 178.9 kB / 0.8386 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.03157, allocations: 0.7227 MB / 0.8393 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00733/0.0389, allocations: 8.663 MB / 0.8478 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.03965, allocations: 486.3 kB / 0.8482 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.04011, allocations: 342.6 kB / 0.8486 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.998e-05/0.04016, allocations: 16.66 kB / 0.8486 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.04018, allocations: 42.05 kB / 0.8486 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 2.696e-06/0.04019, allocations: 4 kB / 0.8486 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=139): time 0.01105/0.05124, allocations: 5.731 MB / 0.8542 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.05127, allocations: 68.72 kB / 0.8543 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.05186, allocations: 0.7608 MB / 0.855 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.05194, allocations: 49.7 kB / 0.8551 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.05228, allocations: 0.8075 MB / 0.8559 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.05261, allocations: 0.5229 MB / 0.8564 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.05296, allocations: 289.2 kB / 0.8567 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.0531, allocations: 0.5316 MB / 0.8572 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.05366, allocations: 327.8 kB / 0.8575 GB, free: 2.008 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.05444, allocations: 0.7869 MB / 0.8583 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.05582, allocations: 1.184 MB / 0.8594 GB, free: 15.71 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.05583, allocations: 4 kB / 0.8594 GB, free: 15.71 MB / 0.823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005158/0.06099, allocations: 2.843 MB / 0.8622 GB, free: 12.84 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.06101, allocations: 11.94 kB / 0.8622 GB, free: 12.83 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.06102, allocations: 8 kB / 0.8622 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004554/0.06557, allocations: 1.865 MB / 0.864 GB, free: 10.94 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.06598, allocations: 191.7 kB / 0.8642 GB, free: 10.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.0803, allocations: 14.83 MB / 0.8787 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/0.0809, allocations: 104.1 kB / 0.8788 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.08099, allocations: 56 kB / 0.8789 GB, free: 11.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003844/0.08138, allocations: 232.3 kB / 0.8791 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.08156, allocations: 159.3 kB / 0.8792 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/0.08643, allocations: 2.729 MB / 0.8819 GB, free: 8.133 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.08643, allocations: 16 kB / 0.8819 GB, free: 8.117 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/0.08646, allocations: 20 kB / 0.8819 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.08647, allocations: 11.91 kB / 0.8819 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006987/0.09346, allocations: 4.69 MB / 0.8865 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.09347, allocations: 4 kB / 0.8865 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.09371, allocations: 119.8 kB / 0.8866 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004288/0.09799, allocations: 1.759 MB / 0.8884 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-05/0.09808, allocations: 28 kB / 0.8884 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/0.1111, allocations: 13.65 MB / 0.9017 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1111, allocations: 8 kB / 0.9017 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/0.1158, allocations: 2.8 MB / 0.9045 GB, free: 304 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.1162, allocations: 375.1 kB / 0.9048 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.1163, allocations: 27.95 kB / 0.9048 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.1168, allocations: 79.89 kB / 0.9049 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/0.1171, allocations: 132.9 kB / 0.905 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.1171, allocations: 36 kB / 0.9051 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003643/0.1175, allocations: 474.9 kB / 0.9055 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1175, allocations: 0 / 0.9055 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001458/0.119, allocations: 0.7227 MB / 0.9062 GB, free: 14.47 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.1191, allocations: 135.1 kB / 0.9064 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002942/0.1221, allocations: 2.489 MB / 0.9088 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1221, allocations: 3.938 kB / 0.9088 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.1244, allocations: 2.007 MB / 0.9108 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.1251, allocations: 218.3 kB / 0.911 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.1288, allocations: 3.25 MB / 0.9141 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.1293, allocations: 0.5422 MB / 0.9147 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.1296, allocations: 257.2 kB / 0.9149 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1298, allocations: 60.48 kB / 0.915 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/0.1298, allocations: 0 / 0.915 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of Templates: time 0.04171/0.1715, allocations: 43.43 MB / 0.9574 GB, free: 10.08 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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.503287413157523]