Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001297/0.001297, allocations: 80.39 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.00129/0.00129, allocations: 164.6 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.9283/0.9283, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.881/1.881, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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_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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0.7656 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.083e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01729/0.01732, allocations: 13.66 MB / 0.8261 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007742/0.02506, allocations: 4.134 MB / 0.8302 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.02654, allocations: 131 kB / 0.8303 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.02774, allocations: 0.5784 MB / 0.8309 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.03013, allocations: 1.724 MB / 0.8326 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.03195, allocations: 1.221 MB / 0.8337 GB, free: 12 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005789/0.03774, allocations: 6.919 MB / 0.8405 GB, free: 5.055 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004367/0.04211, allocations: 3.612 MB / 0.844 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004574/0.04668, allocations: 4.001 MB / 0.8479 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004453/0.05114, allocations: 3.57 MB / 0.8514 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.05257, allocations: 0.5273 MB / 0.8519 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.05428, allocations: 0.6714 MB / 0.8526 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.05694, allocations: 2.693 MB / 0.8552 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002889/0.05983, allocations: 1.762 MB / 0.8569 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004491/0.06432, allocations: 4.593 MB / 0.8614 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.06433, allocations: 0 / 0.8614 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.172e-06/0.06433, allocations: 0 / 0.8614 GB, free: 15.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000132/0.06446, allocations: 0 / 0.8614 GB, free: 15.5 MB / 0.823 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.0053/0.06976, allocations: 4.636 MB / 0.866 GB, free: 10.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.0698, allocations: 8.031 kB / 0.866 GB, free: 10.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.0738, allocations: 1.535 MB / 0.8675 GB, free: 9.258 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.07649, allocations: 2.245 MB / 0.8697 GB, free: 6.965 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.07663, allocations: 271.7 kB / 0.8699 GB, free: 6.699 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/0.07707, allocations: 364.3 kB / 0.8703 GB, free: 6.344 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004741/0.08181, allocations: 3.827 MB / 0.874 GB, free: 2.113 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.84e-05/0.08188, allocations: 12.06 kB / 0.874 GB, free: 2.102 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.08217, allocations: 164.3 kB / 0.8742 GB, free: 1.941 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003836/0.08255, allocations: 483.3 kB / 0.8746 GB, free: 1.469 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.08468, allocations: 1.265 MB / 0.8759 GB, free: 204 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/0.1029, allocations: 19.89 MB / 0.8953 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/0.1038, allocations: 0.6671 MB / 0.8959 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.1047, allocations: 0.7132 MB / 0.8966 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.1048, allocations: 25.31 kB / 0.8967 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1048, allocations: 54.64 kB / 0.8967 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 4.037e-06/0.1048, allocations: 4 kB / 0.8967 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.03041/0.1352, allocations: 13.89 MB / 0.9103 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.1353, allocations: 77.41 kB / 0.9104 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.1365, allocations: 1.405 MB / 0.9117 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.1368, allocations: 65.7 kB / 0.9118 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008901/0.1377, allocations: 1.896 MB / 0.9136 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008706/0.1386, allocations: 0.914 MB / 0.9145 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006382/0.1392, allocations: 463.7 kB / 0.915 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.1393, allocations: 480.8 kB / 0.9154 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008088/0.1401, allocations: 0.5477 MB / 0.916 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.1413, allocations: 1.396 MB / 0.9173 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/0.1435, allocations: 2.194 MB / 0.9195 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.1435, allocations: 7.938 kB / 0.9195 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01332/0.1569, allocations: 6.912 MB / 0.9262 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.1569, allocations: 15.94 kB / 0.9262 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.1569, allocations: 16 kB / 0.9263 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01482/0.1717, allocations: 5.644 MB / 0.9318 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.1725, allocations: 287.4 kB / 0.932 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03666/0.2091, allocations: 23.98 MB / 0.9555 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.211, allocations: 68 kB / 0.9555 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004864/0.2115, allocations: 76 kB / 0.9556 GB, free: 12.43 MB / 0.9167 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.001111/0.2126, allocations: 304.8 kB / 0.9559 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/0.2132, allocations: 322.5 kB / 0.9562 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/0.2306, allocations: 6.989 MB / 0.963 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.2306, allocations: 28 kB / 0.963 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001308/0.2307, allocations: 44 kB / 0.9631 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-05/0.2308, allocations: 11.95 kB / 0.9631 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/0.2523, allocations: 9.656 MB / 0.9725 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.2523, allocations: 8 kB / 0.9725 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.2528, allocations: 139.7 kB / 0.9727 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01495/0.2677, allocations: 5.478 MB / 0.978 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/0.2681, allocations: 48 kB / 0.9781 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02966/0.2977, allocations: 23.88 MB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.2977, allocations: 15.92 kB / 1.001 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/0.3111, allocations: 6.927 MB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.3123, allocations: 0.584 MB / 1.009 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.3126, allocations: 59.86 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/0.3135, allocations: 40 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/0.3146, allocations: 253.4 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.3147, allocations: 52 kB / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0006341/0.3153, allocations: 0.763 MB / 1.01 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.3153, allocations: 4 kB / 1.01 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003466/0.3188, allocations: 1.609 MB / 1.011 GB, free: 2.086 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.0002959/0.3191, allocations: 167.1 kB / 1.012 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009688/0.3288, allocations: 6.064 MB / 1.018 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.3288, allocations: 0 / 1.018 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.008157/0.3369, allocations: 5.03 MB / 1.022 GB, free: 6.602 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.339, allocations: 0.5406 MB / 1.023 GB, free: 6.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.3496, allocations: 7.43 MB / 1.03 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.351, allocations: 1.301 MB / 1.031 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000632/0.3517, allocations: 215 kB / 1.032 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.3523, allocations: 461.9 kB / 1.032 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of SimCode: time 1.713e-06/0.3523, allocations: 0 / 1.032 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of Templates: time 0.4171/0.7694, allocations: 104 MB / 1.134 GB, free: 225.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.186444393824786]