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.001096/0.001096, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009889/0.0009889, allocations: 165 kB / 24.17 MB, free: 332 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 1.007/1.007, allocations: 177.2 MB / 204.6 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.002/2.002, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.844e-06/1.844e-06, allocations: 0 / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.816e-05, allocations: 10.52 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008421/0.008449, allocations: 6.278 MB / 0.7662 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004014/0.01246, allocations: 2.123 MB / 0.7683 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004595/0.01292, allocations: 44.44 kB / 0.7683 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.01355, allocations: 270.9 kB / 0.7686 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0008436/0.01439, allocations: 0.6542 MB / 0.7692 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000766/0.01516, allocations: 0.5478 MB / 0.7698 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.01699, allocations: 2.745 MB / 0.7724 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.01825, allocations: 1.495 MB / 0.7739 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.01962, allocations: 1.567 MB / 0.7754 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.02119, allocations: 1.368 MB / 0.7768 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.02143, allocations: 216 kB / 0.777 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005088/0.02194, allocations: 316.4 kB / 0.7773 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0008079/0.02275, allocations: 1.065 MB / 0.7783 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006929/0.02344, allocations: 0.7173 MB / 0.779 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.0252, allocations: 1.92 MB / 0.7809 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.0252, allocations: 0 / 0.7809 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.02521, allocations: 0 / 0.7809 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.02522, allocations: 0 / 0.7809 GB, free: 1.184 MB / 0.7292 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.002273/0.0275, allocations: 1.793 MB / 0.7826 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.02753, allocations: 8.75 kB / 0.7827 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004211/0.03174, allocations: 0.8528 MB / 0.7835 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.03296, allocations: 0.846 MB / 0.7843 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/0.03304, allocations: 107.3 kB / 0.7844 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.03328, allocations: 148.3 kB / 0.7846 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.03529, allocations: 1.481 MB / 0.786 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/0.03532, allocations: 12.11 kB / 0.786 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.03548, allocations: 67.91 kB / 0.7861 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/0.03567, allocations: 178.9 kB / 0.7863 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004545/0.04022, allocations: 0.6042 MB / 0.7868 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.05709, allocations: 6.341 MB / 0.793 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/0.05786, allocations: 428 kB / 0.7934 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.05829, allocations: 268.2 kB / 0.7937 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.05834, allocations: 12.66 kB / 0.7937 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.05837, allocations: 39.22 kB / 0.7937 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 4.028e-06/0.05837, allocations: 0.7188 kB / 0.7937 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.02113/0.07951, allocations: 4.014 MB / 0.7977 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.07954, allocations: 64.34 kB / 0.7977 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.08015, allocations: 0.6245 MB / 0.7983 GB, free: 15 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/0.08021, allocations: 41.7 kB / 0.7984 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.08055, allocations: 0.6762 MB / 0.799 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.08077, allocations: 317.2 kB / 0.7993 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.08109, allocations: 182.8 kB / 0.7995 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.08124, allocations: 410.5 kB / 0.7999 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.08158, allocations: 173.4 kB / 0.8001 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.08209, allocations: 426.5 kB / 0.8005 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/0.08301, allocations: 0.6837 MB / 0.8011 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.08302, allocations: 4 kB / 0.8012 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00294/0.08596, allocations: 1.351 MB / 0.8025 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.08598, allocations: 8 kB / 0.8025 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.086, allocations: 12 kB / 0.8025 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.08815, allocations: 0.8499 MB / 0.8033 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.08862, allocations: 167.7 kB / 0.8035 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006109/0.09473, allocations: 5.559 MB / 0.8089 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.09532, allocations: 31.94 kB / 0.8089 GB, free: 3.652 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.09538, allocations: 39.94 kB / 0.809 GB, free: 3.613 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004131/0.09579, allocations: 172.4 kB / 0.8091 GB, free: 3.434 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.09592, allocations: 91.84 kB / 0.8092 GB, free: 3.344 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.09807, allocations: 1.229 MB / 0.8104 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.09808, allocations: 12 kB / 0.8104 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.09809, allocations: 12 kB / 0.8105 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.0981, allocations: 3.984 kB / 0.8105 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.1014, allocations: 2.076 MB / 0.8125 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1014, allocations: 288 / 0.8125 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.1017, allocations: 83.83 kB / 0.8126 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.1038, allocations: 0.8247 MB / 0.8134 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.1039, allocations: 23.94 kB / 0.8134 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005875/0.1097, allocations: 5.573 MB / 0.8188 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.1097, allocations: 4 kB / 0.8188 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.1119, allocations: 1.331 MB / 0.8201 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.1122, allocations: 179.3 kB / 0.8203 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.1123, allocations: 19.95 kB / 0.8203 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.1125, allocations: 16 kB / 0.8203 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.1127, allocations: 84.38 kB / 0.8204 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.1128, allocations: 16 kB / 0.8204 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002594/0.113, allocations: 296.5 kB / 0.8207 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.113, allocations: 3.938 kB / 0.8207 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001125/0.1142, allocations: 0.5117 MB / 0.8212 GB, free: 6.727 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001557/0.1143, allocations: 100.4 kB / 0.8213 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.1158, allocations: 1.119 MB / 0.8224 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/0.1158, allocations: 12.5 kB / 0.8224 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000961/0.1168, allocations: 0.8039 MB / 0.8232 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.1174, allocations: 198.8 kB / 0.8234 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.1204, allocations: 2.675 MB / 0.826 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1209, allocations: 463.2 kB / 0.8265 GB, free: 1.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000311/0.1212, allocations: 91.56 kB / 0.8265 GB, free: 1.137 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.1215, allocations: 189.3 kB / 0.8267 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of SimCode: time 1.663e-06/0.1215, allocations: 3.938 kB / 0.8267 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of Templates: time 0.02928/0.1508, allocations: 26.27 MB / 0.8524 GB, free: 6.918 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.457880038768053]