Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0008843/0.0008843, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.000951/0.000951, allocations: 161 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 0.9679/0.9679, allocations: 177.1 MB / 204.6 MB, free: 5.152 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 1.858/1.858, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.939e-05, allocations: 3.406 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005451/0.005471, allocations: 6.535 MB / 0.7664 GB, free: 124 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.008608, allocations: 2.257 MB / 0.7686 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.009029, allocations: 47.69 kB / 0.7687 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.009639, allocations: 266.1 kB / 0.7689 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0008629/0.0105, allocations: 0.7097 MB / 0.7696 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.01135, allocations: 0.6573 MB / 0.7703 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.01348, allocations: 3.011 MB / 0.7732 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.01495, allocations: 1.54 MB / 0.7747 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.0168, allocations: 1.728 MB / 0.7764 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.01856, allocations: 1.565 MB / 0.7779 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003601/0.01892, allocations: 240 kB / 0.7781 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000542/0.01946, allocations: 331.7 kB / 0.7785 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0008098/0.02027, allocations: 1.165 MB / 0.7796 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0008609/0.02113, allocations: 0.7836 MB / 0.7804 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.02296, allocations: 2.139 MB / 0.7825 GB, free: 15.63 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02296, allocations: 0 / 0.7825 GB, free: 15.63 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.082e-06/0.02296, allocations: 0 / 0.7825 GB, free: 15.63 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.78e-05/0.023, allocations: 9.328 kB / 0.7825 GB, free: 15.62 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002251/0.02525, allocations: 1.966 MB / 0.7844 GB, free: 13.63 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.02528, allocations: 14.47 kB / 0.7844 GB, free: 13.62 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003737/0.02902, allocations: 1.197 MB / 0.7856 GB, free: 12.42 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.03032, allocations: 0.9391 MB / 0.7865 GB, free: 11.46 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-05/0.03039, allocations: 115.4 kB / 0.7866 GB, free: 11.35 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.0306, allocations: 148.3 kB / 0.7867 GB, free: 11.21 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.0324, allocations: 1.623 MB / 0.7883 GB, free: 9.465 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.03244, allocations: 4.141 kB / 0.7883 GB, free: 9.461 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.03258, allocations: 74.02 kB / 0.7884 GB, free: 9.391 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.03274, allocations: 207 kB / 0.7886 GB, free: 9.188 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.0338, allocations: 0.6812 MB / 0.7893 GB, free: 8.5 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006524/0.04033, allocations: 6.536 MB / 0.7956 GB, free: 1.82 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.04102, allocations: 0.5581 MB / 0.7962 GB, free: 1.254 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.04148, allocations: 352.2 kB / 0.7965 GB, free: 0.9102 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 6.85e-05/0.04154, allocations: 24.88 kB / 0.7965 GB, free: 0.8867 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.04157, allocations: 47.55 kB / 0.7966 GB, free: 0.8281 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=104): time 2.574e-06/0.04158, allocations: 0 / 0.7966 GB, free: 0.8281 MB / 0.7449 GB Notification: Performance of matching and sorting (n=107): time 0.01616/0.05774, allocations: 7.094 MB / 0.8035 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.05777, allocations: 64.41 kB / 0.8036 GB, free: 9.73 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/0.05838, allocations: 0.7413 MB / 0.8043 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.014e-05/0.05846, allocations: 49.7 kB / 0.8043 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.05875, allocations: 0.6967 MB / 0.805 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.05899, allocations: 392.5 kB / 0.8054 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.05929, allocations: 222.7 kB / 0.8056 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.05939, allocations: 357.8 kB / 0.806 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.05972, allocations: 221.4 kB / 0.8062 GB, free: 7.027 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.06017, allocations: 489.2 kB / 0.8066 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.06101, allocations: 0.8155 MB / 0.8074 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.06102, allocations: 4 kB / 0.8074 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003855/0.06487, allocations: 2.115 MB / 0.8095 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.06489, allocations: 13.34 kB / 0.8095 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.06491, allocations: 8 kB / 0.8095 GB, free: 3.328 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004051/0.06896, allocations: 1.606 MB / 0.8111 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.06939, allocations: 163.7 kB / 0.8112 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009231/0.07862, allocations: 7.307 MB / 0.8184 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.07929, allocations: 32 kB / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/0.07937, allocations: 40 kB / 0.8185 GB, free: 9.992 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (97): * 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: 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 {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004038/0.07977, allocations: 176.4 kB / 0.8186 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.07994, allocations: 111.8 kB / 0.8187 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003666/0.08361, allocations: 2.045 MB / 0.8207 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.08361, allocations: 12 kB / 0.8207 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.08363, allocations: 16 kB / 0.8207 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.08364, allocations: 7.969 kB / 0.8208 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005222/0.08886, allocations: 3.129 MB / 0.8238 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.08887, allocations: 7.938 kB / 0.8238 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.08905, allocations: 67.91 kB / 0.8239 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00404/0.09309, allocations: 1.592 MB / 0.8254 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.09316, allocations: 20 kB / 0.8255 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0091/0.1023, allocations: 7.292 MB / 0.8326 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1023, allocations: 4 kB / 0.8326 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/0.1059, allocations: 2.076 MB / 0.8346 GB, free: 9.078 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.1063, allocations: 239.1 kB / 0.8348 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1064, allocations: 27.98 kB / 0.8349 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.1068, allocations: 20 kB / 0.8349 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.107, allocations: 100.7 kB / 0.835 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.1071, allocations: 16 kB / 0.835 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003048/0.1074, allocations: 360.8 kB / 0.8353 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.1074, allocations: 0 / 0.8353 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001352/0.1087, allocations: 0.668 MB / 0.836 GB, free: 7.645 MB / 0.7917 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 {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001826/0.1089, allocations: 116.2 kB / 0.8361 GB, free: 7.52 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.111, allocations: 1.433 MB / 0.8375 GB, free: 6.062 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.031e-05/0.111, allocations: 16.5 kB / 0.8375 GB, free: 6.047 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.1123, allocations: 1.061 MB / 0.8386 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.113, allocations: 211 kB / 0.8388 GB, free: 4.754 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.1166, allocations: 3.113 MB / 0.8418 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.117, allocations: 0.5098 MB / 0.8423 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002549/0.1173, allocations: 92.92 kB / 0.8424 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.1175, allocations: 197.3 kB / 0.8426 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of SimCode: time 8.41e-07/0.1175, allocations: 0 / 0.8426 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of Templates: time 0.03995/0.1575, allocations: 37.78 MB / 0.8795 GB, free: 11.2 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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: 5.406818187329918]