Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.000886/0.000886, allocations: 80.92 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.0009627/0.0009627, 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.9152/0.9152, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.875/1.875, allocations: 377.9 MB / 0.624 GB, free: 8.375 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.365e-05, allocations: 2.312 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005577/0.005601, allocations: 4.739 MB / 0.7647 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004207/0.009807, allocations: 1.737 MB / 0.7663 GB, free: 192 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.01065, allocations: 39.62 kB / 0.7664 GB, free: 152 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009372/0.01159, allocations: 204.6 kB / 0.7666 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.01285, allocations: 444.8 kB / 0.767 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.0139, allocations: 390.5 kB / 0.7674 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.01561, allocations: 1.267 MB / 0.7686 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009203/0.01653, allocations: 0.5782 MB / 0.7692 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.01754, allocations: 0.6613 MB / 0.7698 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.01827, allocations: 490.6 kB / 0.7703 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.677e-05/0.01837, allocations: 64 kB / 0.7704 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.0187, allocations: 139.8 kB / 0.7705 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.01901, allocations: 331 kB / 0.7708 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.01937, allocations: 312.5 kB / 0.7711 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.02041, allocations: 0.7357 MB / 0.7718 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.02042, allocations: 0 / 0.7718 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.403e-06/0.02042, allocations: 0 / 0.7718 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.02043, allocations: 0.9375 kB / 0.7718 GB, free: 10.57 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001523/0.02195, allocations: 1.033 MB / 0.7728 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.022, allocations: 12.03 kB / 0.7728 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.02319, allocations: 264.4 kB / 0.7731 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008902/0.02408, allocations: 0.4885 MB / 0.7736 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.02413, allocations: 45.67 kB / 0.7736 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.02425, allocations: 72.36 kB / 0.7737 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.02534, allocations: 0.9562 MB / 0.7746 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.02536, allocations: 192 / 0.7746 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/0.02544, allocations: 39.39 kB / 0.7747 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/0.02562, allocations: 93.12 kB / 0.7747 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.02613, allocations: 256 kB / 0.775 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.03007, allocations: 3.915 MB / 0.7788 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.03049, allocations: 280.6 kB / 0.7791 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.03061, allocations: 94.33 kB / 0.7792 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.03064, allocations: 12.44 kB / 0.7792 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.03067, allocations: 43.7 kB / 0.7792 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 3.737e-06/0.03067, allocations: 0 / 0.7792 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001579/0.03225, allocations: 0.803 MB / 0.78 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.03228, allocations: 55.91 kB / 0.7801 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.03257, allocations: 470.9 kB / 0.7805 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.0326, allocations: 34.61 kB / 0.7805 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.03275, allocations: 376.8 kB / 0.7809 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/0.03284, allocations: 183.1 kB / 0.7811 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.03295, allocations: 126.5 kB / 0.7812 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.03305, allocations: 374.5 kB / 0.7816 GB, free: 188 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.839e-05/0.03314, allocations: 73.97 kB / 0.7816 GB, free: 116 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.03343, allocations: 297.1 kB / 0.7819 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.03377, allocations: 442.6 kB / 0.7823 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.03377, allocations: 4 kB / 0.7823 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006494/0.03442, allocations: 0.5653 MB / 0.7829 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.03445, allocations: 8.75 kB / 0.7829 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.03446, allocations: 4 kB / 0.7829 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006603/0.03512, allocations: 294.5 kB / 0.7832 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.03536, allocations: 116.6 kB / 0.7833 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.03831, allocations: 5.292 MB / 0.7885 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.03858, allocations: 21.06 kB / 0.7885 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.03861, allocations: 24 kB / 0.7885 GB, free: 8.484 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002639/0.03887, allocations: 166.1 kB / 0.7887 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.03894, allocations: 64.95 kB / 0.7887 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.03948, allocations: 448.7 kB / 0.7891 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.03948, allocations: 4.781 kB / 0.7892 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.03949, allocations: 8 kB / 0.7892 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.03949, allocations: 8.922 kB / 0.7892 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.04053, allocations: 0.871 MB / 0.79 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.04054, allocations: 5.062 kB / 0.79 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.04066, allocations: 43.98 kB / 0.7901 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005752/0.04123, allocations: 289.9 kB / 0.7903 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.04125, allocations: 13.41 kB / 0.7904 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00337/0.04462, allocations: 5.284 MB / 0.7955 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.04463, allocations: 4 kB / 0.7955 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000909/0.04554, allocations: 0.5952 MB / 0.7961 GB, free: 180 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.04572, allocations: 76.12 kB / 0.7962 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/0.04579, allocations: 13.06 kB / 0.7962 GB, free: 92 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.04606, allocations: 16 kB / 0.7962 GB, free: 76 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.04618, allocations: 43.91 kB / 0.7962 GB, free: 32 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.0462, allocations: 12.81 kB / 0.7963 GB, free: 20 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002416/0.04645, allocations: 204.4 kB / 0.7964 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.61e-07/0.04645, allocations: 0.5312 kB / 0.7964 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009257/0.04737, allocations: 229.3 kB / 0.7967 GB, free: 15.6 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001703/0.04754, allocations: 93.52 kB / 0.7968 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.04881, allocations: 0.8943 MB / 0.7976 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.88e-05/0.04882, allocations: 8.5 kB / 0.7976 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007942/0.04962, allocations: 0.7258 MB / 0.7983 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.05042, allocations: 198.2 kB / 0.7985 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.05279, allocations: 1.272 MB / 0.7998 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.05301, allocations: 207.3 kB / 0.8 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003104/0.05332, allocations: 71 kB / 0.8 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.05374, allocations: 213.2 kB / 0.8002 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of SimCode: time 1.403e-06/0.05374, allocations: 0 / 0.8002 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of Templates: time 0.01669/0.07043, allocations: 12.08 MB / 0.812 GB, free: 15.94 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.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.186837172135711]