Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.0009194/0.0009194, 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.0009399/0.0009399, allocations: 165 kB / 24.17 MB, free: 328 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.013/1.013, allocations: 177.2 MB / 204.6 MB, free: 5.496 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.914/1.914, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.857e-05, allocations: 3.406 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00588/0.005899, allocations: 4.105 MB / 0.7641 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003212/0.009111, allocations: 1.551 MB / 0.7656 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.00942, allocations: 32.5 kB / 0.7656 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.01001, allocations: 163.5 kB / 0.7658 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007501/0.01076, allocations: 373.1 kB / 0.7661 GB, free: 412 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.01143, allocations: 324.8 kB / 0.7664 GB, free: 88 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.01256, allocations: 0.9928 MB / 0.7674 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000588/0.01314, allocations: 415.1 kB / 0.7678 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007406/0.01388, allocations: 0.5105 MB / 0.7683 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000608/0.01449, allocations: 367 kB / 0.7686 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.261e-05/0.01459, allocations: 50.75 kB / 0.7687 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.01487, allocations: 131.7 kB / 0.7688 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.01512, allocations: 271.2 kB / 0.7691 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.01539, allocations: 239.4 kB / 0.7693 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.01591, allocations: 0.5916 MB / 0.7699 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01591, allocations: 0 / 0.7699 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01592, allocations: 0 / 0.7699 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.01592, allocations: 0 / 0.7699 GB, free: 12.54 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0008637/0.01679, allocations: 0.8405 MB / 0.7707 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.01682, allocations: 8.031 kB / 0.7707 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.01757, allocations: 237.8 kB / 0.7709 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.01805, allocations: 434.1 kB / 0.7713 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.01807, allocations: 37.38 kB / 0.7714 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.01817, allocations: 52.55 kB / 0.7714 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.01873, allocations: 0.707 MB / 0.7721 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.01875, allocations: 8.078 kB / 0.7721 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.01878, allocations: 32.11 kB / 0.7722 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.726e-05/0.01888, allocations: 60.95 kB / 0.7722 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.01912, allocations: 200.9 kB / 0.7724 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.02114, allocations: 3.014 MB / 0.7754 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.02133, allocations: 168.9 kB / 0.7755 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.02142, allocations: 69.39 kB / 0.7756 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.02144, allocations: 4.281 kB / 0.7756 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.02146, allocations: 42.83 kB / 0.7756 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.02146, allocations: 3.719 kB / 0.7756 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.001657/0.02312, allocations: 0.9871 MB / 0.7766 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.02314, allocations: 56.16 kB / 0.7766 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.02337, allocations: 395 kB / 0.777 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.02339, allocations: 30.86 kB / 0.7771 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.02352, allocations: 309.4 kB / 0.7774 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.02358, allocations: 130.8 kB / 0.7775 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.02368, allocations: 103.2 kB / 0.7776 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.02378, allocations: 366.6 kB / 0.7779 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.02386, allocations: 56.12 kB / 0.778 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.02401, allocations: 232 kB / 0.7782 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.0243, allocations: 350.8 kB / 0.7785 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0243, allocations: 1.031 kB / 0.7785 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000497/0.0248, allocations: 425.4 kB / 0.7789 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.02482, allocations: 10.19 kB / 0.7789 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.02483, allocations: 8 kB / 0.779 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.02522, allocations: 149.2 kB / 0.7791 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.02549, allocations: 111.8 kB / 0.7792 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.02711, allocations: 2.636 MB / 0.7818 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.02727, allocations: 20.81 kB / 0.7818 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.02729, allocations: 20 kB / 0.7818 GB, free: 15.62 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * 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 {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.02741, allocations: 141.5 kB / 0.782 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.02747, allocations: 48.97 kB / 0.782 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.02787, allocations: 324.6 kB / 0.7823 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.02788, allocations: 7.938 kB / 0.7823 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.02788, allocations: 4 kB / 0.7823 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.02788, allocations: 4.875 kB / 0.7823 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007511/0.02863, allocations: 0.6873 MB / 0.783 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02864, allocations: 0.5 kB / 0.783 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.02882, allocations: 64.89 kB / 0.7831 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.02915, allocations: 144.8 kB / 0.7832 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.02917, allocations: 8.781 kB / 0.7832 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.03061, allocations: 2.64 MB / 0.7858 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.03062, allocations: 4 kB / 0.7858 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.03113, allocations: 0.5217 MB / 0.7863 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.03122, allocations: 71.62 kB / 0.7864 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.03125, allocations: 9.406 kB / 0.7864 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.03137, allocations: 4.188 kB / 0.7864 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.03143, allocations: 35.88 kB / 0.7864 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.03144, allocations: 12 kB / 0.7864 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001087/0.03155, allocations: 161.9 kB / 0.7866 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.03155, allocations: 0 / 0.7866 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003377/0.03189, allocations: 156 kB / 0.7867 GB, free: 10.29 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (27): * Single equations (assignments): 25 * 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 {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000102/0.03199, allocations: 97.25 kB / 0.7868 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.03251, allocations: 0.511 MB / 0.7873 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.03253, allocations: 6.438 kB / 0.7873 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.03282, allocations: 391.5 kB / 0.7877 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.03325, allocations: 175.5 kB / 0.7879 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.03456, allocations: 1.059 MB / 0.7889 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.03467, allocations: 170.3 kB / 0.7891 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000168/0.03484, allocations: 60.97 kB / 0.7891 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.03508, allocations: 169.3 kB / 0.7893 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/0.03509, allocations: 1.188 kB / 0.7893 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of Templates: time 0.01051/0.0456, allocations: 8.57 MB / 0.7977 GB, free: 15.23 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.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.1596410921774805]